Files
gnucash/libgnucash
Ryan Duguid 3b80f573ee [gnc-numeric.hpp] Keep the sign and leading zeroes in decimal output
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.
2026-10-30 08:44:27 +11:00
..