Fix to small negative numbers showing '-0'.

Fixes the issue where formatting a small negative number would cause '-0' to be shown when decimals was set to 0.