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
 
PREVIOUS NEXT
Tagged: #remove #decimal #point #javascript
ADD COMMENT
Topic
Name
1+7 =