Fix formatting negative values
Merge pull request #545 from Akeru/fix-format

Fix formatting negative values