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

MathContext #1331

Open
norberttech opened this issue Jan 6, 2025 · 0 comments
Open

MathContext #1331

norberttech opened this issue Jan 6, 2025 · 0 comments
Milestone

Comments

@norberttech
Copy link
Member

As pointed out in #1322, most of the mathematical operations (comparisons/sub/add, etc) are handled natively by PHP. But since PHP does not come with a Decimal type it can't be used like that.

The solution is to create a MathContext that would be responsible for all mathematical operations which would become a single point of change once we introduce DecimalType.

@norberttech norberttech moved this to Todo in Roadmap Jan 6, 2025
@norberttech norberttech added this to the 0.12.0 milestone Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant