mysql data type for decimal numbers code example
Example 1: mysql decimal
column_name DECIMAL(precision, scale)
-- DECIMAL stores exact numeric values with a fixed decimal point.
-- The precision is the total number of digits before AND after the decimal point.
-- The scale is the number of digits after the decimal point.
Example 2: mysql decimal
column_name DECIMAL(5,2)