Fix #16 undefined formatnumber
Merge pull request #17 from Vanuan/patch-1

Fix #16 undefined formatnumber