'Rediculously simple mathematic formula is not behaving as expected [duplicate]
So, for whatever reason the following simple math equation is behaving oddly
5.1 * 100
> 509.99999999999994
is there a reason this is not resolving to 510?
what needs to be done in javascript in order for it to equal 510?
-- Edit
this post was flagged as a "duplicate" and pointed to a response that does not help a javascript developer, it simply pointed it to a generic math post. My question was "what needs to be done in javascript in order for it to equal 510".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
