NUMERIC and DECIMAL are indeed two names for the same column type in MySQL. The key purpose of this column type is to allow you to specify the exact number of digits before and after the decimal point, and to be assured of exact precision of the values you store (as opposed to floating point numbers, which suffer from limited precision).
At least in current MySQL versions, there are no practical limitations on the use of NUMERIC/DECIMAL values in mathematical operations.
Full documentation on these data types is provided in chapter 11 of the MySQL manual.







Bookmarks