Assuming you are asking about what you observe in MySQL directly, it should first be noted that even though the trailing zeros may be missing in the query output, the precision internally should not be affected.

If you want to retain the full width of the DECIMAL, you can try either of the following: