Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

set to 2 decimals javascript

(<number>).toFixed(<Number of decimal places required>);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #decimals #javascript
ADD COMMENT
Topic
Name
5+3 =