fix number formating (nolap report editor #123)

https://github.com/28msec/nolap-report-editor/issues/123
What if Decimals is <= 0? Shouldn't formatNumber be used in all cases?