Skip to content

!calc drops precision of floating point numbers #826

@aodhneine

Description

@aodhneine

Now:

<aodhneine>: !calc 0.30000000000000004 + 0.1
<MrBotka>: 0.4

Expected:

<aodhneine>: !calc 0.30000000000000004 + 0.1
<MrBotka>: 0.40000000000000004

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions