c# decimal getting converted to int code example Example: from decimal to int c# decimal value = 0; int value2 = Convert.ToInt32(value);