Skip to content

Custom decimal places for specific calculations #4399

Open
@rigelrozanski

Description

There are some funny rounding errors within distribution (see #4389 (comment))
which are due to inability for two mechanisms to have compatible rounding. If, for the duration of this calculation, we were able to increase the number of decimal places, the rounding inconsistencies should be eliminated.

This would require the ability to initialize a decimal with a custom number of decimal places, and then to convert that decimal to another type decimal with a different number of decimal places when the high-precision calculation was complete.

CC @ValarDragon @cwgoes @alexanderbez

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      ☃️ Icebox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions