Skip to content

How to represent "0.00" #354

@omkar9194

Description

@omkar9194

I find that if we do
var zero = decimal.FromString("0.00")
Then print zero/ assign it to string after conversion, Instead of printing 0.00, 0 is printed.

Similarly if we do
var seventy = decimal.FromString("0.70")
Then print zero/ assign it to string after conversion, Instead of printing 0.70, 0.7 is printed.

Is there a pre-existing solution for this? If not, can this be added as a feature?

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