Math.floor shows wrong result
(Doc ID 2295038.1)
Last updated on NOVEMBER 18, 2019
Applies to:
Siebel CRM - Version 16.13 [IP2016] and laterInformation in this document applies to any platform.
Symptoms
Math.floor function returns 12844 instead of 12845 in the following code.
------------------------------------------------------
var num = 128.45;
num = num*100;
num = Math.floor(num);
TheApplication().RaiseErrorText(num);
-------------------------------------------------------
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |