How do I convert a decimal to an int?
decimal vIn = 0.0M; int vOut = Convert.ToInt32(vIn);
Here is a very handy convert data type webpage for those of others. http://www.convertdatatypes.com/Convert-decimal-to-int-in-CSharp.html