这是indexloc提供的服务,不要输入任何密码
Skip to content

When constructing an Amount, should it be possible to specify the number of fraction/significant digits or should that functionality exist only in the .with method? #30

@jessealama

Description

@jessealama

I certainly agree that currency and unit are needed, but I wonder if the others could be pushed to with and toString? In other words, one could imagine constructing an Amount based on a digit string and a currency, and then applying .with to specify a number of fraction/significant digits.

Originally posted by @jessealama in #29 (comment)

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