Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

find length of int number in c

int nDigits = floor(log10(abs(the_integer))) + 1;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #length #int #number
ADD COMMENT
Topic
Name
5+9 =