Skip to content

Numbers close to 0 break formatting #1210

@emmadenslemma

Description

@emmadenslemma

Scaling a value down using decimals (in this instance taking a 1 and subtracting 0.1 from it 10 times) breaks formatting once it hits 0:

Image

As far as I can tell, line 149 in 'lovely/number_formatting.toml' is the culprit by calling tostring instead of string.format

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