convert str to Decimal in value