FIXED: Writing decimal numbers was broken due to (1) idiosyncratic treatment of zero, and (2) reverse integer sequence writing.