My Oracle Support Banner

Math.floor shows wrong result (Doc ID 2295038.1)

Last updated on NOVEMBER 18, 2019

Applies to:

Siebel CRM - Version 16.13 [IP2016] and later
Information 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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.