How to truncate a float number to decimal places? I don’t find the right APIs
I have a problem in subtraction.
You can use the Javascipt api toFixed(decimalPlaces)
var x = 5.6789
var y = x.toFixed(2)
This feature is available for registered users only. Please log in to access this and many other cool features of Kony Community.