Skip to content

Calc package Decimal values potentially incorrect #104

@ThaSiouL

Description

@ThaSiouL

Hey, I just looked over your new Calc package and nocticed that even simple decimal calculations (e.g. 3/10) can be off by a bit and show more than 25 decimal places in the unnormalized form. It seems like the cause is the float to decimal conversion on line 393. I added a 14 digit precision to the float in my version which lets the function works as expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions