Build a periodic table database project

I have a command:
" You should remove all the trailing zeros after the decimals from each row of the atomic_mass column. You may need to adjust a data type to DECIMAL for this. Be careful not to change the value"

I typed:
ALTER TABLE properties ALTER COLUMN atomic_mass TYPE DECIMAL(10,4);

It cut the trailing zeros. This point was not passed.
What can I do?
teraztak

That last line has a lot of trailing zeros…

Ok, I’ve already solved this problem.

so how did you get it