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