Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
gitlog62066yTry is JS. Get a wrong result
Try in python. Get the same result
Try in another * language. Still get the same result.
.
.
.
Let's blame decimal floating problems to JS. YaY! -
There is this famous list of things that seems a bit wonky in JS, though when you actually look at it most of it makes good sense
-
spacem18446yOne thing is there is no standard way to deal with this in js where other lang like c# for example has the Decimal type
-
Many people seem to think that Js is a simple language with lots of little errors, when actually it's a really complex language under the hood
-
I don't understand why this is an issue but that's me
Edit... I understand why it's an issue, I don't understand why it happens is what I meant -
@kenogo ahh so without defining a floor there's no way the system can't do it without rounding
Related Rants
Javascript never ceases to amaze me.
0.3 - 0.1 = 0.199999999999998
😁😁😁
joke/meme
debugging
javascript