Source/NFX/Serialization/BSON/BinUtils.cs
/// <summary>
/// Returns number of digits in 32-bit integer value
/// </summary>
Returns number of digits in 32-bit integer value
Returns number of digits in 32 - bit integer value
public static short GetIntDigitCount(int value)
      {
         short d = 0;
         do
         {
           value = value / 10;
           d++;
         } while (value != 0);
         return d;
      }
public static short GetIntDigitCount ( int value ) { short d = 0 ; do { value = value / 10 ; d ++ ; } while ( value != 0 ) ; return d ; }
Returns number of digits in 32-bit integer value
Returns number of digits in 32 - bit integer value
value
int