Fixes issue #541 with negative number output
Merge pull request #542 from mgreter/negative-number-output

Fixes issue #541 with negative number output