40407938 ÷ 116 
Our goal is to divide 40407938 by 116.

Advancing to step 1:
If we divide 4 by 116, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 116

Going ahead to step 2:
If we divide 40 by 116, we get 0 and a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (4) from the dividend, attach it to 40 and continue: 404 / 116

Let's proceed to step 3:
The number 116 fits into 404 3 times, leaving a remainder of 56.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 348 from 404, we get 56.
Grab the next digit (0) from the dividend, add it to 56, then carry on: 560 / 116

On to step 4:
If we divide 560 by 116, we get 4 and a remainder of 96.
Record the quotient 4 as the next digit in the result. 
Result so far: 34.0
Subtracting 464 from 560 leaves us with 96.
Append the next digit (7) from the dividend to 96 and continue with: 967 / 116

Let's proceed to step 5:
When dividing 967 by 116, we get 8 with a remainder of 39.
Put 8 as the next digit of the answer. 
Result so far: 348.0
If we subtract 928 from 967, we get 39.
Grab the next digit (9) from the dividend, add it to 39, then carry on: 399 / 116

Let's proceed to step 6:
If we divide 399 by 116, we get 3 and a remainder of 51.
Put 3 as the next digit of the answer. 
Result so far: 3483.0
Deduct 348 from 399 and we're left with 51.
Include the next digit (3) from the dividend after 51, then repeat: 513 / 116

Moving on to step 7:
If we divide 513 by 116, we get 4 and a remainder of 49.
Write down 4 as next digit of the result. 
Result so far: 34834.0
If we take 464 away from 513, we end up with 49.
Take the next digit (8) from the dividend and append it to 49, then repeat: 498 / 116

Moving on to step 8:
116 goes into 498 4 times with a remainder of 34.
The next digit of our result is 4. 
Result so far: 348344.0
The remainder is 34 after subtracting 464 from 498.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 9:
340 divided by 116 is 2 with a remainder of 108.
Put 2 as the next digit of the answer. 
Result so far: 348344.2
If we subtract 232 from 340, we get 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Step 10:
116 goes into 1080 9 times with a remainder of 36.
Write down 9 as next digit of the result. 
Result so far: 348344.29
If we subtract 1044 from 1080, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 11:
116 can be fit into 360 3 times, resulting in a remainder of 12.
The next digit of our result is 3. 
Result so far: 348344.293
The remainder is 12 after subtracting 348 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 12:
116 goes into 120 1 times with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 348344.2931
The remainder is 4 after subtracting 116 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 13:
40 divided by 116 is 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 348344.2931
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 14:
116 goes into 400 3 times with a remainder of 52.
The next digit of our result is 3. 
Result so far: 348344.293103
Deduct 348 from 400 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 15:
520 divided by 116 is 4 with a remainder of 56.
Record the quotient 4 as the next digit in the result. 
Result so far: 348344.2931034
The remainder is 56 after subtracting 464 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 16:
116 can be fit into 560 4 times, resulting in a remainder of 96.
The next digit of our result is 4. 
Result so far: 348344.29310344
If we subtract 464 from 560, we get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Our division results in 348344.29310344 with a remaining 9.6e-08.