mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-11-03 20:56:44 -06:00
operator<< printed the integer and fractional parts with separate integer divisions, so 5/100 came out as "0.5", 105/100 as "1.5" and -1/100 as "0.1": leading zeroes of the fraction were dropped and values between -1 and 0 lost their sign. Print the magnitude and write each fractional digit so the output matches the value.