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
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#decimal
#point
#javascript
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit