Skip to content

Power does not return correct values in case of non 0 decimaDigits #24

@zamahaka

Description

@zamahaka

10.000 to the power of 2 should be 100.000
But 100000.000 is returned instead

print(Fixed.parse('10.000').pow(2)); //  = 100000.000

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