Search
 
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
Name
7+4 =