Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js add zeros before number

('0' + deg).slice(-2)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #add #zeros #number
ADD COMMENT
Topic
Name
4+4 =