Skip to content

How to display the value with comma as decimal separator and dot as thousand separator? #44

@cawecoy

Description

@cawecoy

Hi.

Is there a way to display the value with comma as decimal separator and dot as thousand separator? Something like:

$decimal->toFixed(2, ',', '.');

or

$decimal->format(2, ',', '.'); // similarly to number_format

Thanks.

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