Hacker News new | ask | show | jobs
by Roboprog 3305 days ago
That's what fixed precision types are: integers + a scale factor -- whether it's cents, mils or something else.

Javascript does badly need a native fixed precision type beyond "everything is a double" or some web assembly hack.

And I like Javascript, but this is a real problem.