Skip to content

Data.Number.fromString should use the Number constructor instead of parseFloat #29

@natefaubion

Description

@natefaubion

Data.Number.fromString has a weird JS-specific caveat about trailing non-numeric characters due to the specifics of parseFloat. Should we use the Number(str) constructor instead to avoid this oddity?

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