Get count of digits in a number - how to

To get the count of digits in a number:

floor ( log10 ( number ) ) + 1

Just to throw it out there :)

Comments

Sign In or Register to comment.