Skip to content

Rounding issues #8

@schplitt

Description

@schplitt

As nstr uses toFixed() there are inherently rounding issues.

E.g. nstr(1.2345, { maxDecimals: 3 }) results in "1.234" instead of the expected "1.235".

Will this be addressed or are issues stemming from the way js works underneath "non goals"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions