I searched for "integer, length" in the forum search & didn't get any matches, so I assume this hasn't been answered:

How do I count the number of digits in an integer?

For instance, if the user enters the number one million (1000000) it returns a value of 7 (the number 1 + 6 zeros).

Do I need to convert it to character data for easier handling or can I do it with an integer?

Thanks!

mw