We're dividing 317790 by 22 
Our goal is to divide 317790 by 22.

Going ahead to step 1:
22 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 22

On to step 2:
22 goes into 31 1 times with a remainder of 9.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 9 after subtracting 22 from 31.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 22

Step 3:
When dividing 97 by 22, we get 4 with a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
If we subtract 88 from 97, we get 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 22

Going ahead to step 4:
If we divide 97 by 22, we get 4 and a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 144.0
If we subtract 88 from 97, we get 9.
Grab the next digit (9) from the dividend, add it to 9, then carry on: 99 / 22

Step 5:
If we divide 99 by 22, we get 4 and a remainder of 11.
Write down 4 as next digit of the result. 
Result so far: 1444.0
Subtracting 88 from 99 leaves us with 11.
Include the next digit (0) from the dividend after 11, then repeat: 110 / 22

Step 6:
When dividing 110 by 22, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 14445.0
Deduct 110 from 110 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.

On to step 7:
0 divided by 22 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 14445.0
If we subtract 0 from 0, we 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.

Step 8:
22 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 14445.0
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.

The final outcome is 14445.0, with a leftover of 0.0.