translation of fromDecimal()