Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.
This repository was archived by the owner on May 23, 2023. It is now read-only.

Values with 4 or more digits and a zero next to the dot do not convert properly #59

@timvandevelde

Description

@timvandevelde

My rems are 10px. If I set a width of 80rem it converts nicely to 800px. 101.3rem converts to 1013px. 80.52rem converts to 805px.

But if I set a width of 120.8rem, it converts to 128.8px.
80.50rem converts to 80.5px.

Looks like it has something to do with the zero before the dot.

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