News for hackers. Stuff that matters.
Re:C++17 – better than you might think by kabdib on Thursday December 29, 2016 @09:43AM (#13277476)
I guess you could move the decimal point a bit and just add zeroes on output for that particular currency. [Not serious, this is a strong argument for int128 for currency... wow]

Gas stations in the US had a similar problem in the 1970s; most pumps didn't go over 99 cents a gallon. Took a few years for things to be retrofitted.

Re:C++17 – better than you might think by geezerjay on Thursday December 29, 2016 @10:29AM (#13277761)
A better idea would be to use a surrogate currency, like a tera- or peta-Zimbabwean dollar, which had a exchange rate of about 1:10^12 or 1:10^15.

I'm sure no one dealing with zimbabwean currency would care for so many significant digits.