Skip to content

Why is Zero defined not as New(0, 0) but as New(0, 1)? #372

Open
@your-diary

Description

@your-diary

I'm interested in the design decision just for curiosity.

Also, if

The zero-value of a Decimal is 0, as you would expect. (source)

, can't it be defined as Decimal{}?

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