Linq Format Values

January 3, 2021 admin 0

Currency Conversion result = context.payments .Select(x => new Payment { id = x.payment_id, paid_amount = x.paid_amount != null ? x.paid_amount.Value.ToString(“N2”) : “0.00” }).ToList(); Date Conversion […]