Skip to content

BcMath\Number::createFrom #22128

@whataboutpereira

Description

@whataboutpereira

Description

Any plans to add a static creator function to BcMath\Number akin to DateTime::createFromImmutable() etc functions?

It would allow turning values to Number objects without additional code in object mapper transformers etc where you could simply pass Number::createFrom(...) as transformer.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions