We're dividing 317164 by 89 
We want to divide 317164 by 89.

On to step 1:
The number 89 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 89

Moving on to step 2:
31 divided by 89 is 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Include the next digit (7) from the dividend after 31, then repeat: 317 / 89

Let's proceed to step 3:
If we divide 317 by 89, we get 3 and a remainder of 50.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 267 from 317 leaves us with 50.
Bring next digit (1) of the dividend behind the 50 and repeat the process: 501 / 89

Advancing to step 4:
If we divide 501 by 89, we get 5 and a remainder of 56.
Put 5 as the next digit of the answer. 
Result so far: 35.0
Deduct 445 from 501 and we're left with 56.
Include the next digit (6) from the dividend after 56, then repeat: 566 / 89

Let's proceed to step 5:
566 divided by 89 is 6 with a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 356.0
Deduct 534 from 566 and we're left with 32.
Include the next digit (4) from the dividend after 32, then repeat: 324 / 89

Step 6:
89 can be fit into 324 3 times, resulting in a remainder of 57.
The next digit of our result is 3. 
Result so far: 3563.0
If we take 267 away from 324, we end up with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Advancing to step 7:
If we divide 570 by 89, we get 6 and a remainder of 36.
Write down 6 as next digit of the result. 
Result so far: 3563.6
Deduct 534 from 570 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 8:
The number 89 fits into 360 4 times, leaving a remainder of 4.
The next digit of our result is 4. 
Result so far: 3563.64
Deduct 356 from 360 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
The number 89 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 3563.64
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 10:
89 can be fit into 400 4 times, resulting in a remainder of 44.
Use 4 as the next digit of our solution. 
Result so far: 3563.6404
If we subtract 356 from 400, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 11:
89 goes into 440 4 times with a remainder of 84.
The number 4 becomes the next digit in our result. 
Result so far: 3563.64044
If we take 356 away from 440, we end up with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

After the division, we end up with 3563.64044 and a remainder of 8.4e-05.