Preserve decimal values with trailing zeros

This addresses issue #38, but introduces a huge backwards incompatibility where the decimal value is always shown if formatting rule allows it.