c# convert .5 to decimal 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)
var convertDecimal = Convert.ToDecimal(value);
DepositAmount = Convert.ToDecimal(u.DepositAmount)