Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

find how many digits a number has

static int digitCountOf(int number){
            return number.ToString().Length;
        }
 
PREVIOUS NEXT
Tagged: #find #digits #number
ADD COMMENT
Topic
Name
9+6 =