Fix issue #1833 (zero-less decimal values).

Suggested fix for #1833