Math.floor shows wrong result

(Doc ID 2295038.1)

Last updated on JANUARY 03, 2018

Applies to:

Siebel CRM - Version 16.13 [IP2016] and later
Information in this document applies to any platform.


Math.floor function returns 12844 instead of 12845 in the following code.

var num = 128.45;
num = num*100;
num = Math.floor(num);




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms