Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript round float

let number = 6.688689;
let roundedNumber = Math.round(number * 10) / 10;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #float
ADD COMMENT
Topic
Name
4+3 =