Skip to content

Formatting for numbers with commas fails #50

@tomhundt

Description

@tomhundt

Hi, this is an awesome package, thanks so much for providing it!

Noticed in one of my files, dollar numeric fields, e.g., [...,] "$100,015.00", [...] don't render properly -- the "string" rendering stops at the comma in the middle, whereupon it changes to the same style as numeric constants and dates. Experimentation reveals that the dollar sign makes it think that's a string-format field (any letter does the same thing). IMO the whole thing should just be displayed as a string, including the embedded comma.

Here's an example
one,two,three,four
1,"$200,000",567,hello
comes out as
render_money_number

Thanks

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