Error: [number-to-bn] while converting number "2.499" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported. Given value: "2.499"
at Object.d [as toBN] (utils.js:59:15)
should be able to handle converstion of currency rate correctly
Error: [number-to-bn] while converting number "2.499" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported. Given value: "2.499" at Object.d [as toBN] (utils.js:59:15)
should be able to handle converstion of currency rate correctly