40180963 divided by 342 
Our goal is to divide 40180963 by 342.

Advancing to step 1:
342 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 342

On to step 2:
342 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 342

Let's proceed to step 3:
401 divided by 342 is 1 with a remainder of 59.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 342 from 401, we get 59.
Append the next digit (8) from the dividend to 59 and continue with: 598 / 342

Going ahead to step 4:
When dividing 598 by 342, we get 1 with a remainder of 256.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Deduct 342 from 598 and we're left with 256.
Include the next digit (0) from the dividend after 256, then repeat: 2560 / 342

Step 5:
The number 342 fits into 2560 7 times, leaving a remainder of 166.
Record the quotient 7 as the next digit in the result. 
Result so far: 117.0
If we take 2394 away from 2560, we end up with 166.
Grab the next digit (9) from the dividend, add it to 166, then carry on: 1669 / 342

Going ahead to step 6:
If we divide 1669 by 342, we get 4 and a remainder of 301.
The next digit of our result is 4. 
Result so far: 1174.0
If we subtract 1368 from 1669, we get 301.
Include the next digit (6) from the dividend after 301, then repeat: 3016 / 342

Going ahead to step 7:
342 can be fit into 3016 8 times, resulting in a remainder of 280.
Use 8 as the next digit of our solution. 
Result so far: 11748.0
If we take 2736 away from 3016, we end up with 280.
Grab the next digit (3) from the dividend, add it to 280, then carry on: 2803 / 342

Let's proceed to step 8:
When dividing 2803 by 342, we get 8 with a remainder of 67.
Record the quotient 8 as the next digit in the result. 
Result so far: 117488.0
Subtracting 2736 from 2803 leaves us with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Step 9:
The number 342 fits into 670 1 times, leaving a remainder of 328.
Write down 1 as next digit of the result. 
Result so far: 117488.1
Subtract 342 from 670 to get 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Step 10:
The number 342 fits into 3280 9 times, leaving a remainder of 202.
The number 9 becomes the next digit in our result. 
Result so far: 117488.19
Subtract 3078 from 3280 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.

Moving on to step 11:
When dividing 2020 by 342, we get 5 with a remainder of 310.
Write down 5 as next digit of the result. 
Result so far: 117488.195
Deduct 1710 from 2020 and we're left with 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Let's proceed to step 12:
The number 342 fits into 3100 9 times, leaving a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 117488.1959
The remainder is 22 after subtracting 3078 from 3100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 13:
342 goes into 220 0 times with a remainder of 220.
Use 0 as the next digit of our solution. 
Result so far: 117488.1959
Subtracting 0 from 220 leaves us 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.

Step 14:
342 goes into 2200 6 times with a remainder of 148.
Write down 6 as next digit of the result. 
Result so far: 117488.195906
Subtract 2052 from 2200 to get 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Going ahead to step 15:
If we divide 1480 by 342, we get 4 and a remainder of 112.
The number 4 becomes the next digit in our result. 
Result so far: 117488.1959064
Deduct 1368 from 1480 and we're left with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Going ahead to step 16:
342 can be fit into 1120 3 times, resulting in a remainder of 94.
Record the quotient 3 as the next digit in the result. 
Result so far: 117488.19590643
Subtract 1026 from 1120 to get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

The final result is 117488.19590643 with a remainder of 9.4e-08.