We're dividing 31171078 by 373 
We want to divide 31171078 by 373.

Moving on to step 1:
The number 373 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 / 373

Step 2:
If we divide 31 by 373, we get 0 and a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 373

Moving on to step 3:
311 divided by 373 is 0 with a remainder of 311.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 311 leaves us with 311.
Take the next digit (7) from the dividend and append it to 311, then repeat: 3117 / 373

Step 4:
When dividing 3117 by 373, we get 8 with a remainder of 133.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we subtract 2984 from 3117, we get 133.
Grab the next digit (1) from the dividend, add it to 133, then carry on: 1331 / 373

Moving on to step 5:
373 goes into 1331 3 times with a remainder of 212.
Write down 3 as next digit of the result. 
Result so far: 83.0
If we subtract 1119 from 1331, we get 212.
Include the next digit (0) from the dividend after 212, then repeat: 2120 / 373

Let's proceed to step 6:
If we divide 2120 by 373, we get 5 and a remainder of 255.
The number 5 becomes the next digit in our result. 
Result so far: 835.0
If we subtract 1865 from 2120, we get 255.
Bring next digit (7) of the dividend behind the 255 and repeat the process: 2557 / 373

Going ahead to step 7:
373 goes into 2557 6 times with a remainder of 319.
Record the quotient 6 as the next digit in the result. 
Result so far: 8356.0
Subtracting 2238 from 2557 leaves us with 319.
Append the next digit (8) from the dividend to 319 and continue with: 3198 / 373

Going ahead to step 8:
When dividing 3198 by 373, we get 8 with a remainder of 214.
The next digit of our result is 8. 
Result so far: 83568.0
If we subtract 2984 from 3198, we get 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Going ahead to step 9:
The number 373 fits into 2140 5 times, leaving a remainder of 275.
The number 5 becomes the next digit in our result. 
Result so far: 83568.5
Subtract 1865 from 2140 to get 275.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2750, and continue the process.

Advancing to step 10:
2750 divided by 373 is 7 with a remainder of 139.
Put 7 as the next digit of the answer. 
Result so far: 83568.57
The remainder is 139 after subtracting 2611 from 2750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

Going ahead to step 11:
1390 divided by 373 is 3 with a remainder of 271.
Use 3 as the next digit of our solution. 
Result so far: 83568.573
The remainder is 271 after subtracting 1119 from 1390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2710, and continue the process.

On to step 12:
373 goes into 2710 7 times with a remainder of 99.
Record the quotient 7 as the next digit in the result. 
Result so far: 83568.5737
If we take 2611 away from 2710, we end up with 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

Advancing to step 13:
373 goes into 990 2 times with a remainder of 244.
Record the quotient 2 as the next digit in the result. 
Result so far: 83568.57372
The remainder is 244 after subtracting 746 from 990.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

On to step 14:
The number 373 fits into 2440 6 times, leaving a remainder of 202.
The number 6 becomes the next digit in our result. 
Result so far: 83568.573726
Subtract 2238 from 2440 to get 202.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2020, and continue the process.

Advancing to step 15:
373 can be fit into 2020 5 times, resulting in a remainder of 155.
The number 5 becomes the next digit in our result. 
Result so far: 83568.5737265
Subtract 1865 from 2020 to get 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Step 16:
1550 divided by 373 is 4 with a remainder of 58.
Use 4 as the next digit of our solution. 
Result so far: 83568.57372654
If we take 1492 away from 1550, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

After the division, we end up with 83568.57372654 and a remainder of 5.8e-08.