Fixes 1121. Bigdeciment 1.9+: to_s sometimes has extra trailing zeroes