Convert
int i = Convert.ToInt32(decimalvalue);
int i = 0; int.TryParse(decimalvalue, out i);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)