What's the easiest way to get a string with the value of "76.10" into an int rounded to 76?
I've tried a few different ways using Convert.ToInt32 and Decimal but I can't seem to get it right?
Edit: Here's the code Jon helped me with:
decimal t = Math.Round(decimal.Parse(info.HDDStatus));
int v = (int)t;