Skip to content

numeral(0.0).add(numeral(0.000002 * 0.24).value()).value() returns 0 instead of 4.8e-7 #789

@imalkevich

Description

@imalkevich

Hi Team,

Wondering how to use this library if I would like the following code to return me expected value?

numeral(0.0).add(numeral(0.000002 * 0.24).value()).value()

Currently it returns 0, while I would expect it to be 4.8e-7.

Thanks

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