Use decimal, not float for money value

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.

Leave a Reply

Your email address will not be published. Required fields are marked *