I have a problem that I have to annex zeros that the numbers have the same number of digits after the decimal point.

I'm not sure what you are asking, but possibly this might help.

0.017
0.250
0.300