Chris
09/17/2018, 9:35 AMDouble ? I would like the exact number of deciaml digits, ie. 424.234 would return 3 or “234” (either would be good) thanks in advance.robin
09/17/2018, 9:45 AMd.toString().split('.')[1].length. Problem is this can quickly give unexpected results because of precision errors with the double type. For example (0.1 + 0.2).toString().split('.')[1].length will yield 17, when it should intuitively be 1, because of rounding errors. Better to go to using BigDecimals for this kind of jobChris
09/17/2018, 9:52 AMkarelpeeters
09/17/2018, 10:07 AMNan, inifnity, scientific notation, ...robin
09/17/2018, 10:20 AM