Method CountDigitsAndTrailingZeros
| Improve this Doc View SourceCountDigitsAndTrailingZeros(BigInteger)
Calculates the number of base 10 digits and trailing zeros in the value. Zero values return 1 digit and 0 trailing zeros.
Declaration
public static (int Digits, int TrailingZeros) CountDigitsAndTrailingZeros(this BigInteger value)
Parameters
Type | Name | Description |
---|---|---|
BigInteger | value |
Returns
Type | Description |
---|---|
(T1, T2)<Int32, Int32> |