40341840 divided by 662 
Let's see how many times 662 fits into 40341840.

Step 1:
4 divided by 662 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 662

Moving on to step 2:
If we divide 40 by 662, we get 0 and a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Include the next digit (3) from the dividend after 40, then repeat: 403 / 662

Step 3:
When dividing 403 by 662, we get 0 with a remainder of 403.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 403, we get 403.
Append the next digit (4) from the dividend to 403 and continue with: 4034 / 662

Step 4:
662 goes into 4034 6 times with a remainder of 62.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we subtract 3972 from 4034, we get 62.
Append the next digit (1) from the dividend to 62 and continue with: 621 / 662

On to step 5:
If we divide 621 by 662, we get 0 and a remainder of 621.
The number 0 becomes the next digit in our result. 
Result so far: 60.0
Subtract 0 from 621 to get 621.
Include the next digit (8) from the dividend after 621, then repeat: 6218 / 662

Advancing to step 6:
662 goes into 6218 9 times with a remainder of 260.
Put 9 as the next digit of the answer. 
Result so far: 609.0
Deduct 5958 from 6218 and we're left with 260.
Include the next digit (4) from the dividend after 260, then repeat: 2604 / 662

Step 7:
662 goes into 2604 3 times with a remainder of 618.
The next digit of our result is 3. 
Result so far: 6093.0
If we take 1986 away from 2604, we end up with 618.
Append the next digit (0) from the dividend to 618 and continue with: 6180 / 662

Step 8:
When dividing 6180 by 662, we get 9 with a remainder of 222.
Use 9 as the next digit of our solution. 
Result so far: 60939.0
Subtract 5958 from 6180 to get 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Let's proceed to step 9:
The number 662 fits into 2220 3 times, leaving a remainder of 234.
The next digit of our result is 3. 
Result so far: 60939.3
The remainder is 234 after subtracting 1986 from 2220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

Let's proceed to step 10:
When dividing 2340 by 662, we get 3 with a remainder of 354.
Write down 3 as next digit of the result. 
Result so far: 60939.33
If we take 1986 away from 2340, we end up with 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

The final outcome is 60939.33, with a leftover of 0.354.