Moving decimal point according to quantity