I would like my text entry to round off decimals and have the end result be an integer. This is what I have but it is not working. What would be the easiest way to do this? Thanks
decimal startMiles = Int32.Parse(txtStartMiles.Text);
startMiles = Math.Round(startMiles);
startMiles = Int32.Parse(startMiles);
Convert.ToInt32 Method (Double)