DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to remove last digit from number in javascript
var str = "stackoverflow"; str = str.substring(0, str.length - 1); console.log(str);
PREVIOUS
NEXT
Tagged:
#remove
#digit
#number
#javascript
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit