Re:JavaScript Is Weird
by bazoom42 on Monday August 14, 2023 @06:21AM
(#37119355)
Rounding errors are unavoidable when representing an infinite amout of numbers in a fixed number of bits. But in many cases a decimal type (like in C#) would have more intuitive behvior than binary floating point. A decimal type have been proposed for JavaScript but I dont know how far along it is.
[ Parent
| on HN ]
There are no comments on this comment yet.