asp net core how to convert.todecimal always use same culture globally code example
Example 1: convert string to decimal c#
var convertDecimal = Convert.ToDecimal(value);
Example 2: convert string to decimal c#
DepositAmount = Convert.ToDecimal(u.DepositAmount)