We look at the division of 317198 by 54 
We're looking to find how many times 54 goes into 317198.

Let's proceed to step 1:
54 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
If we take 0 away from 3, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 54

Step 2:
54 goes into 31 0 times with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Fetch the next digit (7) from the dividend, attach it to 31 and continue: 317 / 54

Moving on to step 3:
54 can be fit into 317 5 times, resulting in a remainder of 47.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 270 from 317 leaves us with 47.
Fetch the next digit (1) from the dividend, attach it to 47 and continue: 471 / 54

Moving on to step 4:
54 goes into 471 8 times with a remainder of 39.
Use 8 as the next digit of our solution. 
Result so far: 58.0
Deduct 432 from 471 and we're left with 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 54

Advancing to step 5:
The number 54 fits into 399 7 times, leaving a remainder of 21.
Write down 7 as next digit of the result. 
Result so far: 587.0
If we subtract 378 from 399, we get 21.
Grab the next digit (8) from the dividend, add it to 21, then carry on: 218 / 54

Moving on to step 6:
218 divided by 54 is 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 5874.0
Subtract 216 from 218 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
If we divide 20 by 54, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 5874.0
Subtract 0 from 20 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.

Moving on to step 8:
When dividing 200 by 54, we get 3 with a remainder of 38.
The number 3 becomes the next digit in our result. 
Result so far: 5874.03
Deduct 162 from 200 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 9:
54 can be fit into 380 7 times, resulting in a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 5874.037
Subtracting 378 from 380 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 10:
20 divided by 54 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 5874.037
Subtracting 0 from 20 leaves us 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.

On to step 11:
If we divide 200 by 54, we get 3 and a remainder of 38.
Record the quotient 3 as the next digit in the result. 
Result so far: 5874.03703
Subtracting 162 from 200 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 12:
When dividing 380 by 54, we get 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 5874.037037
The remainder is 2 after subtracting 378 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 13:
54 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 5874.037037
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 14:
If we divide 200 by 54, we get 3 and a remainder of 38.
The next digit of our result is 3. 
Result so far: 5874.03703703
The remainder is 38 after subtracting 162 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

The quotient of the division is 5874.03703703, and the remainder is 3.8e-08.