Choose a unit, then type a number. Choose another unit: the digits stay and the decimal point moves there.
1 kg = 1 000 000 mg