Am I wrong (I hope), but I don't find on PHP a fixed-point datatype !?
Datatype like DECIMAL/NUMERIC from MySQL will be nice for doing operations on money without precision loss.
Any ideas ?
Am I wrong (I hope), but I don't find on PHP a fixed-point datatype !?
Datatype like DECIMAL/NUMERIC from MySQL will be nice for doing operations on money without precision loss.
Any ideas ?