1 millimetre is 0.1 of a centimetre
1 centimetre is 0.1 of a decimetre
1 decimetre is 0.1 of a metre
1 metre is the basic unit of measure
1 decametre is 10 metres
1 hectometre is 10 decametres
1 kilometre is 10 hectometers
in the example would be
1 m,25
12dm,5
125cm
u just do x10(x100,x1000...) if u use a smaller unit(from m to cm or m to mm)
or :10 (:100,:1000...) if u use a a bigger one (from cm to m or m to km)
I'm not sure if this was what you were looking for.