Numeric Data Types

1. Integer Family

Data TypeUnsigned Min ValueUnsigned Max ValueSigned Min ValueSigned Max Value
INT04294967295-21474836482147483647
SMALLINT065535-3276832767
MEDIUMINT016777215-83886088388607
BIGINT018446744073709551615-92233720368547758089223372036854775807
TINYINT0255-128127

2. FLOAT(d)

where d is number of decimals. If the d value is in between 0-24 then the data type becomes FLOAT() else if the d value is >24 and <53 then the data type becomes DOUBLE()

3. DECIMAL(l,d)

where l is number of digits displayed before the decimal point and d is number of digits after the decimal point. Default value is DECIMAL(10,2).