62,810 views
30 votes
30 votes
Given a number count the total number of digits in a number

User Sangram Barge
by
3.3k points

1 Answer

8 votes
8 votes

Answer:

round up the log of the number

Step-by-step explanation:

The ¹⁰log of a number gives you the number of digits if you round it up.

User Sahar Alsadah
by
2.2k points