Skip to content

Ability to format financial data #6

Description

@mattbryce

Hi,

I've had the need to format some financial data that my bank returns. The API returns the value in pence, so £250 is returned as "25000" for example.

I've implemented some additional configuration settings and logic whereby it will process the data accordingly.
My fork and new branch:
https://github.com/mattbryce/MMM-JsonValue/tree/improvement/financial-data

It uses Intl.NumberFormat to format according to the parameters in the config file.

Would be great to merge to main after further testing :)

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions