dsrcsebit / Basic-Calculator

0 stars 0 forks source link

Floating points #1

Closed pankajkumar005 closed 9 years ago

pankajkumar005 commented 9 years ago

[Bug] 0.2 + 0.1 should be 0.3 not 0.30000000000000004

dsrcsebit commented 9 years ago

Done by using toprecision () .