Let's divide 40663858 by 335
We want to figure out the number of times 40663858 can be divided by 335.

Step 1:
4 divided by 335 is 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 335

Let's proceed to step 2:
The number 335 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Bring next digit (6) of the dividend behind the 40 and repeat the process: 406 / 335

Step 3:
The number 335 fits into 406 1 times, leaving a remainder of 71.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 335 from 406, we get 71.
Grab the next digit (6) from the dividend, add it to 71, then carry on: 716 / 335

Step 4:
335 goes into 716 2 times with a remainder of 46.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Subtract 670 from 716 to get 46.
Bring next digit (3) of the dividend behind the 46 and repeat the process: 463 / 335

On to step 5:
335 can be fit into 463 1 times, resulting in a remainder of 128.
The number 1 becomes the next digit in our result. 
Result so far: 121.0
The remainder is 128 after subtracting 335 from 463.
Fetch the next digit (8) from the dividend, attach it to 128 and continue: 1288 / 335

Going ahead to step 6:
The number 335 fits into 1288 3 times, leaving a remainder of 283.
The next digit of our result is 3. 
Result so far: 1213.0
If we take 1005 away from 1288, we end up with 283.
Bring next digit (5) of the dividend behind the 283 and repeat the process: 2835 / 335

Moving on to step 7:
If we divide 2835 by 335, we get 8 and a remainder of 155.
Put 8 as the next digit of the answer. 
Result so far: 12138.0
Subtract 2680 from 2835 to get 155.
Grab the next digit (8) from the dividend, add it to 155, then carry on: 1558 / 335

Going ahead to step 8:
335 can be fit into 1558 4 times, resulting in a remainder of 218.
Write down 4 as next digit of the result. 
Result so far: 121384.0
The remainder is 218 after subtracting 1340 from 1558.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

On to step 9:
When dividing 2180 by 335, we get 6 with a remainder of 170.
The next digit of our result is 6. 
Result so far: 121384.6
The remainder is 170 after subtracting 2010 from 2180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

On to step 10:
335 can be fit into 1700 5 times, resulting in a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 121384.65
The remainder is 25 after subtracting 1675 from 1700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 11:
When dividing 250 by 335, we get 0 with a remainder of 250.
Use 0 as the next digit of our solution. 
Result so far: 121384.65
Subtract 0 from 250 to get 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Step 12:
The number 335 fits into 2500 7 times, leaving a remainder of 155.
Write down 7 as next digit of the result. 
Result so far: 121384.6507
If we take 2345 away from 2500, we end up with 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Going ahead to step 13:
If we divide 1550 by 335, we get 4 and a remainder of 210.
Put 4 as the next digit of the answer. 
Result so far: 121384.65074
Deduct 1340 from 1550 and we're left with 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

On to step 14:
2100 divided by 335 is 6 with a remainder of 90.
Write down 6 as next digit of the result. 
Result so far: 121384.650746
Subtracting 2010 from 2100 leaves us with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Moving on to step 15:
The number 335 fits into 900 2 times, leaving a remainder of 230.
The number 2 becomes the next digit in our result. 
Result so far: 121384.6507462
Subtracting 670 from 900 leaves us with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Going ahead to step 16:
If we divide 2300 by 335, we get 6 and a remainder of 290.
Put 6 as the next digit of the answer. 
Result so far: 121384.65074626
The remainder is 290 after subtracting 2010 from 2300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

The final outcome is 121384.65074626, with a leftover of 2.9e-07.