Comment

Comment by glimshe

The rounding behavior with true decimals is easy to control and understand across number magnitudes and doesn't suffer from platform specific quirks like floats/doubles.

The article's images clearly show the rounding error mess your get without decimals.

parent glimshe 1 month ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton