Skip to content

Min and Max decimal places #44

Description

@Red-3

We have a requirement to show at least 2dp and a maximum of 6dp.

So a model value having < 2dp would show with exactly 2dp. (An integer 123 would be shown as 123.00 for example.) A model value having 4 dp precision would be shown with exactly 4dp. A model value having >= 6dp would show exactly 6dp with given rounding strategy.

(I would hope it would be something like setting numFract: 6 and numFixed: 2, but numFixed is a boolean, not number of dps.)

So as far as I can tell, there is no way to configure AWNUM's formatter to do this?
If there is a way, please let me know. If not please take this as a feature request.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions