Skip to content

Force to show decimal in CommafWithDigits #105

Open
@zeing

Description

@zeing

My float64 number is 1000.00

Actual:
CommafWithDigits(1000.00, 2) => 1,000

Expect:
CommafWithDigits(1000.00, 2) => 1,000.00

When inputting a decimal like 2 it should have xxxx.xx

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