Check out example codes for "mysql alter decimal precision". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE YourTableNameHere MODIFY COLUMN YourColumnNameHere decimal(4,2)

Learn ReactJs, React Native from akashmittal.com