Skip to content

Show financial figures to two decimal places #14

@Iain-S

Description

@Iain-S

For rctab sub summary, and possibly other commands, we output the raw data as returned by the server. This means that financial figures are shown to many decimal places:

rctab sub summary --subscription-id 1234z-1234a-1234b-1234c
[
    {
        ...
        "total_cost": 78.18015651709896
    }
]

However, it would be nice to either:

a. Show figures to to two decimal places by default, or
b. Show some shell trick to accomplish the same thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions