[Bugfix] Can not specify decimals: 0

If you were trying to add decimals=0 you would get an error since `empty(0)==true´. 

This PR allows you to have 0 decimals.
Merge pull request #24 from Nyholm/patch-1

[Bugfix] Can not specify decimals: 0