Update index.js

Converted amount and multiplier to float from string
Merge pull request #1 from catalint/patch-1

Update index.js