Skip to content

Use the BcMath\Number as new Type to work easier with arbitrary precision numbers #6644

@nio-dtp

Description

@nio-dtp

Feature Request

What

Create a new Type to map a database column to the BcMath\Number class available since php 8.4

Why

The BcMath\Number class facilitates manipulation, calculations and comparisons between numbers. It would be nice to map a database column to this object. This way the developers could work directly with this new php object.

How

Create a new Type. It could use the sql declaration the DecimalType as it would share the same database mapping definition with precision and scale.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions