public static int Round(float x)
{
if (Settings.FAST_MATH)
{
return Floor(x + .5f);
}
else
{
//UPGRADE_TODO: Method 'java.lang.StrictMath.round' was converted to 'System.Math.Round' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javalangStrictMathround_float'"
return (int)Math.Round((double)x);
}
}