We look at the division of 797231 by 90 
Our goal is to divide 797231 by 90.

On to step 1:
If we divide 7 by 90, we get 0 and a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 90

On to step 2:
79 divided by 90 is 0 with a remainder of 79.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 79, we get 79.
Include the next digit (7) from the dividend after 79, then repeat: 797 / 90

Let's proceed to step 3:
The number 90 fits into 797 8 times, leaving a remainder of 77.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we subtract 720 from 797, we get 77.
Bring next digit (2) of the dividend behind the 77 and repeat the process: 772 / 90

Going ahead to step 4:
90 can be fit into 772 8 times, resulting in a remainder of 52.
The number 8 becomes the next digit in our result. 
Result so far: 88.0
If we subtract 720 from 772, we get 52.
Grab the next digit (3) from the dividend, add it to 52, then carry on: 523 / 90

Moving on to step 5:
If we divide 523 by 90, we get 5 and a remainder of 73.
Write down 5 as next digit of the result. 
Result so far: 885.0
Subtracting 450 from 523 leaves us with 73.
Include the next digit (1) from the dividend after 73, then repeat: 731 / 90

On to step 6:
90 can be fit into 731 8 times, resulting in a remainder of 11.
Record the quotient 8 as the next digit in the result. 
Result so far: 8858.0
Deduct 720 from 731 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 7:
110 divided by 90 is 1 with a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 8858.1
The remainder is 20 after subtracting 90 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
90 goes into 200 2 times with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 8858.12
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
90 goes into 200 2 times with a remainder of 20.
The next digit of our result is 2. 
Result so far: 8858.122
Subtract 180 from 200 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Our division results in 8858.122 with a remaining 0.002.