Method ExtMisc.ToInt(+ 2 overloads)
Overload
Converts to int with rounding. Calls System.Convert.ToInt32.
public static int ToInt(this double t)
Parameters
t (double) |
Returns
Exceptions
Overload(next)
Converts to int with rounding. Calls System.Convert.ToInt32.
public static int ToInt(this float t)
Parameters
t (float) |
Returns
Exceptions
Overload(top)
Converts to int with rounding. Calls System.Convert.ToInt32.
public static int ToInt(this decimal t)
Parameters
t (decimal) |