DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
float addition in javascript
var result = parseFloat('2.3') + parseFloat('2.4'); alert(result.toFixed(2));
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#float
#addition
#javascript
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit