Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript round to 2 decimals

var num = 125465.33695;
console.log(num.toFixed(2)) //125465.33
Source by javascriptf1.com #
 
PREVIOUS NEXT
Tagged: #javascript #decimals
ADD COMMENT
Topic
Name
1+3 =