7R35C0/digit
The module contains functions that return the number of digits.
The module contains functions that return the number of digits for a number
,
using various algorithms.
The code is based on following sources:
All functions return the number of digits for a supported number
,
otherwise null
.
Supported number
types and ranges:
Note that for float numbers the type is important, for example:
null
Negative numbers are converted to their absolute value.
More information about digit counting algorithms can be found in the sources, links above. Also, some usage examples are in the demo
files.