If you want to round to the nearest int:
int rounded = (int)Math.Round(precise, 0);
You can also use:
int rounded = Convert.ToInt32(precise);
Which will use Math.Round(x, 0);
to round and cast for you. It looks neater but is slightly less clear IMO.
If you want to round up:
int roundedUp = (int)Math.Ceiling(precise);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…