Update percentage.js

Fixed issue with using 0 for decimal value.
Merge pull request #3 from ncapito/master

Update percentage.js