Let's divide 40446642 by 787
Let's see how many times 787 fits into 40446642.

On to step 1:
4 divided by 787 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
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 / 787

Going ahead to step 2:
787 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (4) from the dividend and append it to 40, then repeat: 404 / 787

On to step 3:
787 goes into 404 0 times with a remainder of 404.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 404, we end up with 404.
Append the next digit (4) from the dividend to 404 and continue with: 4044 / 787

On to step 4:
When dividing 4044 by 787, we get 5 with a remainder of 109.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we subtract 3935 from 4044, we get 109.
Bring next digit (6) of the dividend behind the 109 and repeat the process: 1096 / 787

Step 5:
If we divide 1096 by 787, we get 1 and a remainder of 309.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
Subtract 787 from 1096 to get 309.
Append the next digit (6) from the dividend to 309 and continue with: 3096 / 787

Let's proceed to step 6:
3096 divided by 787 is 3 with a remainder of 735.
Write down 3 as next digit of the result. 
Result so far: 513.0
If we take 2361 away from 3096, we end up with 735.
Bring next digit (4) of the dividend behind the 735 and repeat the process: 7354 / 787

Going ahead to step 7:
The number 787 fits into 7354 9 times, leaving a remainder of 271.
Use 9 as the next digit of our solution. 
Result so far: 5139.0
If we take 7083 away from 7354, we end up with 271.
Include the next digit (2) from the dividend after 271, then repeat: 2712 / 787

Going ahead to step 8:
2712 divided by 787 is 3 with a remainder of 351.
The next digit of our result is 3. 
Result so far: 51393.0
Subtracting 2361 from 2712 leaves us with 351.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3510, and continue the process.

On to step 9:
787 goes into 3510 4 times with a remainder of 362.
Put 4 as the next digit of the answer. 
Result so far: 51393.4
Subtracting 3148 from 3510 leaves us with 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

Let's proceed to step 10:
787 goes into 3620 4 times with a remainder of 472.
Record the quotient 4 as the next digit in the result. 
Result so far: 51393.44
If we subtract 3148 from 3620, we get 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

The final result is 51393.44 with a remainder of 0.472.