312798 divided by 538 
We want to divide 312798 by 538.

Advancing to step 1:
The number 538 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 538

Let's proceed to step 2:
The number 538 fits into 31 0 times, leaving a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Take the next digit (2) from the dividend and append it to 31, then repeat: 312 / 538

Going ahead to step 3:
538 can be fit into 312 0 times, resulting in a remainder of 312.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 312 leaves us with 312.
Grab the next digit (7) from the dividend, add it to 312, then carry on: 3127 / 538

On to step 4:
538 can be fit into 3127 5 times, resulting in a remainder of 437.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 2690 from 3127, we get 437.
Grab the next digit (9) from the dividend, add it to 437, then carry on: 4379 / 538

Going ahead to step 5:
The number 538 fits into 4379 8 times, leaving a remainder of 75.
Record the quotient 8 as the next digit in the result. 
Result so far: 58.0
If we subtract 4304 from 4379, we get 75.
Fetch the next digit (8) from the dividend, attach it to 75 and continue: 758 / 538

Let's proceed to step 6:
538 goes into 758 1 times with a remainder of 220.
Put 1 as the next digit of the answer. 
Result so far: 581.0
If we take 538 away from 758, we end up with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Moving on to step 7:
2200 divided by 538 is 4 with a remainder of 48.
Use 4 as the next digit of our solution. 
Result so far: 581.4
Subtracting 2152 from 2200 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 8:
When dividing 480 by 538, we get 0 with a remainder of 480.
Write down 0 as next digit of the result. 
Result so far: 581.4
Subtract 0 from 480 to get 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Let's proceed to step 9:
If we divide 4800 by 538, we get 8 and a remainder of 496.
Record the quotient 8 as the next digit in the result. 
Result so far: 581.408
Subtract 4304 from 4800 to get 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

On to step 10:
The number 538 fits into 4960 9 times, leaving a remainder of 118.
The next digit of our result is 9. 
Result so far: 581.4089
Subtracting 4842 from 4960 leaves us with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Going ahead to step 11:
If we divide 1180 by 538, we get 2 and a remainder of 104.
Write down 2 as next digit of the result. 
Result so far: 581.40892
The remainder is 104 after subtracting 1076 from 1180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Let's proceed to step 12:
538 can be fit into 1040 1 times, resulting in a remainder of 502.
Use 1 as the next digit of our solution. 
Result so far: 581.408921
Deduct 538 from 1040 and we're left with 502.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5020, and continue the process.

Step 13:
538 can be fit into 5020 9 times, resulting in a remainder of 178.
Record the quotient 9 as the next digit in the result. 
Result so far: 581.4089219
If we take 4842 away from 5020, we end up with 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Moving on to step 14:
The number 538 fits into 1780 3 times, leaving a remainder of 166.
Put 3 as the next digit of the answer. 
Result so far: 581.40892193
If we take 1614 away from 1780, we end up with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

The final result is 581.40892193 with a remainder of 1.66e-07.