Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

round 2 decimales js

var numb = 80.124124124;
numb = numb.toFixed(2);

// numb = 80.12
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #decimales #js
ADD COMMENT
Topic
Name
4+6 =