DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js how to fix 0.1 + 0.2
console.log((0.1 + 0.2).toFixed(1)); // 0.3
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#js
#fix
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit