News for hackers. Stuff that matters.
Re:Copilot regurgitating Quake code, including sweary comments by marcosdumay on Friday July 02, 2021 @11:37AM (#27712866)
Each country has a law or something similar that states how people should calculate over prices.

The usual is to use decimal numbers with fixed precision (the actual precision varies from one country to another), and I don't know of any modern exception. But as late as the 90's there were non-decimal monetary systems around the world, so if you are saving any historic data, you may need something more complex.

There are no comments on this comment yet.