DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript quick float to integer
console.log(23.9 | 0); // Result: 23 console.log(-23.9 | 0); // Result: -23
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#quick
#float
#integer
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit