For storing numeric data, MySQL provides integer data types, floating-point types that store approximate-value (real) numbers, a fixed-point type that stores exact-value (real) numbers, and a BIT type for bit-field values. When numeric data type is chosen, consider the following factors: • The range of values the data type represents • The amount of storage space that column values require • The column precision and scale for floating-point and fixed-point values Precision and scale are terms that apply to floating-point and fixed-point values, which can have both an integer part and a fractional part. Precision is the number of significant digits. Scale is the number of digits to the right of the decimal point. Integer Data Type The integer data types are summarized in the following table, which indicates the amount of storage per valu...
“The best way to be ready for the future is to invent it.”— John Sculley