Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nio-dtp opened this issue Dec 8, 2024 · 0 comments

Comments

@nio-dtp
Copy link

nio-dtp commented Dec 8, 2024

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.

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

No branches or pull requests

1 participant