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

Add formatting method (enhancement) #65

Open
bdteo opened this issue Aug 6, 2018 · 0 comments
Open

Add formatting method (enhancement) #65

bdteo opened this issue Aug 6, 2018 · 0 comments

Comments

@bdteo
Copy link

bdteo commented Aug 6, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant