IntExtensions.NumDigits
Extension Method in IntExtensions
Declaration
public static int NumDigits(this int n)Description
Returns the number of digits in the number.
Parameters
| n | The number to check. |
Returns
| int | The number of digits in the number. |
public static int NumDigits(this int n)Returns the number of digits in the number.
| n | The number to check. |
| int | The number of digits in the number. |