DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
remove 0 after decimal point in javascript
const s = 1.245000 const noZeroes = s.toString() // 1.245
PREVIOUS
NEXT
Tagged:
#remove
#decimal
#point
#javascript
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit