We look at the division of 89791 by 10 
We want to figure out the number of times 89791 can be divided by 10.

On to step 1:
When dividing 8 by 10, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Bring next digit (9) of the dividend behind the 8 and repeat the process: 89 / 10

Going ahead to step 2:
If we divide 89 by 10, we get 8 and a remainder of 9.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Deduct 80 from 89 and we're left with 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 10

On to step 3:
If we divide 97 by 10, we get 9 and a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 89.0
The remainder is 7 after subtracting 90 from 97.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 10

On to step 4:
10 goes into 79 7 times with a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 897.0
Subtracting 70 from 79 leaves us with 9.
Take the next digit (1) from the dividend and append it to 9, then repeat: 91 / 10

On to step 5:
When dividing 91 by 10, we get 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 8979.0
Subtract 90 from 91 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 6:
If we divide 10 by 10, we get 1 and a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 8979.1
Subtract 10 from 10 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 7:
0 divided by 10 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 8979.1
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
The number 10 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 8979.1
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 8979.1 and a remainder of 0.0.