40619507 ÷ 335 
We want to figure out the number of times 40619507 can be divided by 335.

Going ahead to step 1:
When dividing 4 by 335, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 335

Moving on to step 2:
If we divide 40 by 335, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Include the next digit (6) from the dividend after 40, then repeat: 406 / 335

Step 3:
The number 335 fits into 406 1 times, leaving a remainder of 71.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 335 away from 406, we end up with 71.
Fetch the next digit (1) from the dividend, attach it to 71 and continue: 711 / 335

Going ahead to step 4:
335 goes into 711 2 times with a remainder of 41.
The next digit of our result is 2. 
Result so far: 12.0
If we take 670 away from 711, we end up with 41.
Append the next digit (9) from the dividend to 41 and continue with: 419 / 335

Let's proceed to step 5:
335 goes into 419 1 times with a remainder of 84.
Record the quotient 1 as the next digit in the result. 
Result so far: 121.0
Subtracting 335 from 419 leaves us with 84.
Append the next digit (5) from the dividend to 84 and continue with: 845 / 335

Let's proceed to step 6:
845 divided by 335 is 2 with a remainder of 175.
Record the quotient 2 as the next digit in the result. 
Result so far: 1212.0
The remainder is 175 after subtracting 670 from 845.
Include the next digit (0) from the dividend after 175, then repeat: 1750 / 335

Moving on to step 7:
1750 divided by 335 is 5 with a remainder of 75.
The next digit of our result is 5. 
Result so far: 12125.0
The remainder is 75 after subtracting 1675 from 1750.
Grab the next digit (7) from the dividend, add it to 75, then carry on: 757 / 335

Advancing to step 8:
When dividing 757 by 335, we get 2 with a remainder of 87.
Write down 2 as next digit of the result. 
Result so far: 121252.0
Deduct 670 from 757 and we're left with 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Advancing to step 9:
870 divided by 335 is 2 with a remainder of 200.
The number 2 becomes the next digit in our result. 
Result so far: 121252.2
If we subtract 670 from 870, we get 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

On to step 10:
When dividing 2000 by 335, we get 5 with a remainder of 325.
Use 5 as the next digit of our solution. 
Result so far: 121252.25
Subtracting 1675 from 2000 leaves us 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 11:
3250 divided by 335 is 9 with a remainder of 235.
Write down 9 as next digit of the result. 
Result so far: 121252.259
The remainder is 235 after subtracting 3015 from 3250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2350, and continue the process.

Step 12:
335 goes into 2350 7 times with a remainder of 5.
Record the quotient 7 as the next digit in the result. 
Result so far: 121252.2597
If we subtract 2345 from 2350, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 13:
50 divided by 335 is 0 with a remainder of 50.
The next digit of our result is 0. 
Result so far: 121252.2597
Subtracting 0 from 50 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Moving on to step 14:
If we divide 500 by 335, we get 1 and a remainder of 165.
Record the quotient 1 as the next digit in the result. 
Result so far: 121252.259701
Subtract 335 from 500 to get 165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

Step 15:
335 goes into 1650 4 times with a remainder of 310.
Write down 4 as next digit of the result. 
Result so far: 121252.2597014
Subtracting 1340 from 1650 leaves us 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.

Step 16:
If we divide 3100 by 335, we get 9 and a remainder of 85.
The next digit of our result is 9. 
Result so far: 121252.25970149
If we take 3015 away from 3100, we end up with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Our division results in 121252.25970149 with a remaining 8.5e-08.