Transform for Decimal type.