How to insert DECIMAL into MySQL database
MySql decimal types are a little bit more complicated than just left-of and right-of the decimal point. The first argument is precision, which is the number of total digits. The second argument is scale which is the maximum number of digits to the right of the decimal point. Thus, (4,2) can be anything from -99.99 … Read more