ndigits
ndigits(n, b)
Compute the number of digits in number n
written in base b
.
Examples
julia> ndigits(32)
2
julia> ndigits(32, 2)
6
See Also
User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.