SyntaxFix
Write A Post
Hire A Developer
Questions
You may use this -
(data_type)log10(variable_name)+1
ex:
len = (int)log10(number)+1;