40849994 divided by 642 
Our goal is to divide 40849994 by 642.

Moving on to step 1:
When dividing 4 by 642, we get 0 with 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 / 642

Moving on to step 2:
When dividing 40 by 642, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Bring next digit (8) of the dividend behind the 40 and repeat the process: 408 / 642

Going ahead to step 3:
408 divided by 642 is 0 with a remainder of 408.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 408, we get 408.
Grab the next digit (4) from the dividend, add it to 408, then carry on: 4084 / 642

Advancing to step 4:
When dividing 4084 by 642, we get 6 with a remainder of 232.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we take 3852 away from 4084, we end up with 232.
Bring next digit (9) of the dividend behind the 232 and repeat the process: 2329 / 642

Let's proceed to step 5:
The number 642 fits into 2329 3 times, leaving a remainder of 403.
Put 3 as the next digit of the answer. 
Result so far: 63.0
If we subtract 1926 from 2329, we get 403.
Include the next digit (9) from the dividend after 403, then repeat: 4039 / 642

Going ahead to step 6:
642 goes into 4039 6 times with a remainder of 187.
Use 6 as the next digit of our solution. 
Result so far: 636.0
The remainder is 187 after subtracting 3852 from 4039.
Include the next digit (9) from the dividend after 187, then repeat: 1879 / 642

Going ahead to step 7:
642 can be fit into 1879 2 times, resulting in a remainder of 595.
Write down 2 as next digit of the result. 
Result so far: 6362.0
The remainder is 595 after subtracting 1284 from 1879.
Bring next digit (4) of the dividend behind the 595 and repeat the process: 5954 / 642

Let's proceed to step 8:
The number 642 fits into 5954 9 times, leaving a remainder of 176.
The next digit of our result is 9. 
Result so far: 63629.0
If we subtract 5778 from 5954, we get 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

On to step 9:
When dividing 1760 by 642, we get 2 with a remainder of 476.
The next digit of our result is 2. 
Result so far: 63629.2
Deduct 1284 from 1760 and we're left with 476.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4760, and continue the process.

On to step 10:
642 goes into 4760 7 times with a remainder of 266.
Write down 7 as next digit of the result. 
Result so far: 63629.27
Deduct 4494 from 4760 and we're left with 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

Going ahead to step 11:
2660 divided by 642 is 4 with a remainder of 92.
The next digit of our result is 4. 
Result so far: 63629.274
Subtract 2568 from 2660 to get 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Going ahead to step 12:
If we divide 920 by 642, we get 1 and a remainder of 278.
Put 1 as the next digit of the answer. 
Result so far: 63629.2741
If we take 642 away from 920, we end up with 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

On to step 13:
2780 divided by 642 is 4 with a remainder of 212.
Put 4 as the next digit of the answer. 
Result so far: 63629.27414
Subtracting 2568 from 2780 leaves us with 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Advancing to step 14:
642 can be fit into 2120 3 times, resulting in a remainder of 194.
The next digit of our result is 3. 
Result so far: 63629.274143
Deduct 1926 from 2120 and we're left with 194.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1940, and continue the process.

Going ahead to step 15:
642 can be fit into 1940 3 times, resulting in a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 63629.2741433
Subtracting 1926 from 1940 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

In conclusion, the division gives 63629.2741433 with a balance of 1.4e-07.