C# how to parse double to int code example Example: C# how to parse double to int int res = Convert.ToInt32(val);