Quantcast
Channel: database – blog.azwan.net
Viewing all articles
Browse latest Browse all 16

Use decimal, not float for money value

$
0
0

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.


Viewing all articles
Browse latest Browse all 16

Trending Articles