Writing decimals in expanded form