40873486 divided by 347 
Our goal is to divide 40873486 by 347.

Let's proceed to step 1:
When dividing 4 by 347, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 347

Going ahead to step 2:
347 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Bring next digit (8) of the dividend behind the 40 and repeat the process: 408 / 347

Moving on to step 3:
347 goes into 408 1 times with a remainder of 61.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 347 away from 408, we end up with 61.
Include the next digit (7) from the dividend after 61, then repeat: 617 / 347

Let's proceed to step 4:
If we divide 617 by 347, we get 1 and a remainder of 270.
Put 1 as the next digit of the answer. 
Result so far: 11.0
If we take 347 away from 617, we end up with 270.
Grab the next digit (3) from the dividend, add it to 270, then carry on: 2703 / 347

Moving on to step 5:
347 goes into 2703 7 times with a remainder of 274.
Put 7 as the next digit of the answer. 
Result so far: 117.0
Subtract 2429 from 2703 to get 274.
Bring next digit (4) of the dividend behind the 274 and repeat the process: 2744 / 347

Going ahead to step 6:
347 can be fit into 2744 7 times, resulting in a remainder of 315.
Put 7 as the next digit of the answer. 
Result so far: 1177.0
The remainder is 315 after subtracting 2429 from 2744.
Grab the next digit (8) from the dividend, add it to 315, then carry on: 3158 / 347

Moving on to step 7:
The number 347 fits into 3158 9 times, leaving a remainder of 35.
Use 9 as the next digit of our solution. 
Result so far: 11779.0
If we subtract 3123 from 3158, we get 35.
Grab the next digit (6) from the dividend, add it to 35, then carry on: 356 / 347

Let's proceed to step 8:
If we divide 356 by 347, we get 1 and a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 117791.0
If we subtract 347 from 356, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 9:
The number 347 fits into 90 0 times, leaving a remainder of 90.
Put 0 as the next digit of the answer. 
Result so far: 117791.0
Subtract 0 from 90 to get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Let's proceed to step 10:
347 goes into 900 2 times with a remainder of 206.
Write down 2 as next digit of the result. 
Result so far: 117791.02
Subtract 694 from 900 to get 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

On to step 11:
2060 divided by 347 is 5 with a remainder of 325.
The number 5 becomes the next digit in our result. 
Result so far: 117791.025
If we take 1735 away from 2060, we end up with 325.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3250, and continue the process.

Advancing to step 12:
347 can be fit into 3250 9 times, resulting in a remainder of 127.
Put 9 as the next digit of the answer. 
Result so far: 117791.0259
Subtracting 3123 from 3250 leaves us with 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

Moving on to step 13:
347 can be fit into 1270 3 times, resulting in a remainder of 229.
The next digit of our result is 3. 
Result so far: 117791.02593
Deduct 1041 from 1270 and we're left with 229.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2290, and continue the process.

Advancing to step 14:
If we divide 2290 by 347, we get 6 and a remainder of 208.
The next digit of our result is 6. 
Result so far: 117791.025936
If we take 2082 away from 2290, we end up with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Moving on to step 15:
2080 divided by 347 is 5 with a remainder of 345.
Use 5 as the next digit of our solution. 
Result so far: 117791.0259365
The remainder is 345 after subtracting 1735 from 2080.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

Advancing to step 16:
When dividing 3450 by 347, we get 9 with a remainder of 327.
Write down 9 as next digit of the result. 
Result so far: 117791.02593659
If we subtract 3123 from 3450, we get 327.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3270, and continue the process.

After the division, we end up with 117791.02593659 and a remainder of 3.27e-07.