Skip to content

[Bug] Wrong result for numbers more than 16 digits #27

@Sp4Rx

Description

@Sp4Rx

Wrong result comes for numbers more than 16 digits. For example

Expression expression = Parser().parse('88888888888888888');
print(expression.toString());

Expected result should be 88888888888888888 but we get 88888888888888900.0 which is wrong.

NB: This happens for each and every number.

If possible, please provide a resolution ASAP as I'm using it in my production app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviordocumentationIndicates a need for improvements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions