Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Add formatting method (enhancement)  #65

Open
@bdteo

Description

@bdteo

The default string representation that the Decimal class gives is like this:

(string)Litipk\BigNumbers\Decimal::fromString('11111111111111111.55555555555555')
"11111111111111111.55555555555555"

It would be nice if there is a method to format strings like these to 11,111,111,111,111,111.55555555555555

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