DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+3 =
Submit