My Oracle Support Banner

Incorrect Output When Multiplying Via Escript (Doc ID 3004483.1)

Last updated on MARCH 19, 2024

Applies to:

Siebel CRM - Version 23.11 and later
Information in this document applies to any platform.


When attempting to multiply numbers via script, in some instances, the output is incorrect. For example, multiplying 0.05 with 6 will output 0.30000000000000004 instead of 0.3.

This behavior can lead to the following error:

"Value too long for field 'PG Discount Rate Interface' (maximum size 18).(SBL-DAT-00235)"

The issue can be reproduced at will with the following steps:
1. Navigate to Administration - Business Service.
2. Insert the sample code and attempt to simulate:

3. The output is 0.30000000000000004 instead of 0.3.




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

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