In C#, I have a custom string "12.10", when I convert it to decimal it is converted as 12.1 but I need it to be 12.10 in decimal also, please help
Below is the code
string Value = nudEngineeringYears.Value + "." + nudEngineeringMonths.Value;
selStaff.EngineeringExperience = Convert.ToDecimal(Value);