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
Handling them as string is a workaround, but as value object you can more easily encapsulate some of the logic.
21
21
22
22
### Alternatives
23
-
Solutions like https://php-decimal.io require a PHP extension (would make it faster, but also more difficult for some
23
+
Solutions like [php-decimal](https://php-decimal.github.io/#introduction) require a PHP extension (would make it faster, but also more difficult for some
24
24
servers to be available). For details see the [wiki](https://github.com/php-collective/decimal-object/wiki).
25
25
26
+
For monetary values itself one could look into [brick/money](https://github.com/brick/money) or [moneyphp/money](https://github.com/moneyphp/money).
27
+
26
28
Note: If you are looking for pre 8.1 versions, check out legacy library (https://github.com/spryker/decimal-object).
0 commit comments