The field in MySQL table should be of type Decimal (X,Y) where X is total digits and Y is the number of those digits that should be on the fractional side.
Example of what you need
DECIMAL(10, 2) has 8 digits onthe integer part and 2 digits on the fractional part.