797138 ÷ 90 
We're looking to find how many times 90 goes into 797138.

Going ahead to step 1:
When dividing 7 by 90, we get 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 90

Moving on to step 2:
90 can be fit into 79 0 times, resulting in a remainder of 79.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 79 leaves us with 79.
Append the next digit (7) from the dividend to 79 and continue with: 797 / 90

Let's proceed to step 3:
797 divided by 90 is 8 with a remainder of 77.
The next digit of our result is 8. 
Result so far: 8.0
Deduct 720 from 797 and we're left with 77.
Take the next digit (1) from the dividend and append it to 77, then repeat: 771 / 90

Going ahead to step 4:
771 divided by 90 is 8 with a remainder of 51.
Use 8 as the next digit of our solution. 
Result so far: 88.0
The remainder is 51 after subtracting 720 from 771.
Include the next digit (3) from the dividend after 51, then repeat: 513 / 90

Moving on to step 5:
If we divide 513 by 90, we get 5 and a remainder of 63.
Write down 5 as next digit of the result. 
Result so far: 885.0
If we take 450 away from 513, we end up with 63.
Include the next digit (8) from the dividend after 63, then repeat: 638 / 90

Advancing to step 6:
If we divide 638 by 90, we get 7 and a remainder of 8.
The number 7 becomes the next digit in our result. 
Result so far: 8857.0
Deduct 630 from 638 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 7:
When dividing 80 by 90, we get 0 with a remainder of 80.
Write down 0 as next digit of the result. 
Result so far: 8857.0
If we take 0 away from 80, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 8:
When dividing 800 by 90, we get 8 with a remainder of 80.
The next digit of our result is 8. 
Result so far: 8857.08
Deduct 720 from 800 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Step 9:
800 divided by 90 is 8 with a remainder of 80.
Write down 8 as next digit of the result. 
Result so far: 8857.088
If we take 720 away from 800, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

The final result is 8857.088 with a remainder of 0.008.