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