Use decimal at it is more accurate for money value in MySQL. e.g. rounding etc. Using float will end up some inaccuracy of calculation.
Use decimal, not float for money value
Leave a reply
Use decimal at it is more accurate for money value in MySQL. e.g. rounding etc. Using float will end up some inaccuracy of calculation.