Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Cliff on Aug 13, 2008 23:38
open dhtmlx forum
Multiplication

Hi
If you go to this example:
http://www.dhtmlx.com/docs/products/docsExplorer/index.shtml?type=smpl
and enter 999999999999 in the price column and 999999 in the quantity column the answer is : 999998999999000100 but should be 999998999999000001
My local application is exhibiting the same issue, could you please send through a fix for version 1.5 of dhtmlx professional
Thanks
Cliff
Answer posted by Support on Aug 14, 2008 01:28
The issue can't be fixed. In your case data exceed the maximum safe size of float number, which cause rounding and not expected result.
The reason of problem not the logic of component but limits of JavaScript, so it is not fixable.