moneyphp / money

PHP implementation of Fowler's Money pattern.
http://moneyphp.org
MIT License
4.6k stars 440 forks source link

Format without money symbol #659

Closed kephren226 closed 3 years ago

kephren226 commented 3 years ago

In there a way to format or print the format result witout the currency symbol I'm using this new Money(10000, new Currency('XOF'))

and ai want to print this 10 000 instead of that 10 000 F CFA

kslimani commented 3 years ago

Maybe with Intl Decimal or Decimal formatter.

kephren226 commented 3 years ago

Maybe with Intl Decimal or Decimal formatter.

Thanks didn't see that