Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

floating point in javascript

function strip(number) {
    return (parseFloat(number).toPrecision(12));
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #floating #point #javascript
ADD COMMENT
Topic
Name
6+9 =