What's your take on dealing with money in PHP?
Use third party package like MoneyPHP?
Use decimal or integer datatype in MySQL and in PHP use BCMath to perform operations?
What's your take on dealing with money in PHP?
Use third party package like MoneyPHP?
Use decimal or integer datatype in MySQL and in PHP use BCMath to perform operations?
For further actions, you may consider blocking this person and/or reporting abuse
Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.
varzoeaa -
Jackie Yio Hex 🍥 -
H.M Tharindu Madubashana -
Jess Lee -
Top comments (2)
I usually use the moneyphp/money to accomplish this issue :).
I just use integer for my local currency.