Update index.js

Converted amount and multiplier to float from string