Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to store a 6 digit number as 6 separate integers

int number; // = some int

while (number > 0) {
    print( number % 10);
    number = number / 10;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #store #digit #number #separate #integers
ADD COMMENT
Topic
Name
3+7 =