Skip to content

[number-to-bn] while converting number "2.499" to BN.js instance, error: invalid number value. Value must be an integer,  #3

Description

@rydemods

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions