You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using this library with a Money instance with a custom context calculating the inclusive/exclusive price will throw an exception.
The monies do not share the same context. If this is intended, use plus($money->toRational()) instead of plus($money).
In my use case the context should not round the numbers which could be achieved with a custom context. The default context auto rounds the values to the default rounding of the used currency.
The text was updated successfully, but these errors were encountered:
When using this library with a Money instance with a custom context calculating the inclusive/exclusive price will throw an exception.
In my use case the context should not round the numbers which could be achieved with a custom context. The default context auto rounds the values to the default rounding of the used currency.
The text was updated successfully, but these errors were encountered: