Let's divide 40794221 by 770
We want to divide 40794221 by 770.

Moving on to step 1:
The number 770 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
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 / 770

Let's proceed to step 2:
The number 770 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Grab the next digit (7) from the dividend, add it to 40, then carry on: 407 / 770

Step 3:
If we divide 407 by 770, we get 0 and a remainder of 407.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 407 leaves us with 407.
Include the next digit (9) from the dividend after 407, then repeat: 4079 / 770

Moving on to step 4:
770 goes into 4079 5 times with a remainder of 229.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 3850 from 4079 to get 229.
Append the next digit (4) from the dividend to 229 and continue with: 2294 / 770

Step 5:
770 can be fit into 2294 2 times, resulting in a remainder of 754.
Record the quotient 2 as the next digit in the result. 
Result so far: 52.0
The remainder is 754 after subtracting 1540 from 2294.
Bring next digit (2) of the dividend behind the 754 and repeat the process: 7542 / 770

Let's proceed to step 6:
When dividing 7542 by 770, we get 9 with a remainder of 612.
Use 9 as the next digit of our solution. 
Result so far: 529.0
Subtract 6930 from 7542 to get 612.
Append the next digit (2) from the dividend to 612 and continue with: 6122 / 770

On to step 7:
The number 770 fits into 6122 7 times, leaving a remainder of 732.
Use 7 as the next digit of our solution. 
Result so far: 5297.0
The remainder is 732 after subtracting 5390 from 6122.
Fetch the next digit (1) from the dividend, attach it to 732 and continue: 7321 / 770

Going ahead to step 8:
The number 770 fits into 7321 9 times, leaving a remainder of 391.
Put 9 as the next digit of the answer. 
Result so far: 52979.0
Subtract 6930 from 7321 to get 391.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3910, and continue the process.

Step 9:
770 can be fit into 3910 5 times, resulting in a remainder of 60.
Use 5 as the next digit of our solution. 
Result so far: 52979.5
The remainder is 60 after subtracting 3850 from 3910.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 10:
When dividing 600 by 770, we get 0 with a remainder of 600.
Write down 0 as next digit of the result. 
Result so far: 52979.5
Subtracting 0 from 600 leaves us with 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

On to step 11:
The number 770 fits into 6000 7 times, leaving a remainder of 610.
Put 7 as the next digit of the answer. 
Result so far: 52979.507
Subtract 5390 from 6000 to get 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

Going ahead to step 12:
770 can be fit into 6100 7 times, resulting in a remainder of 710.
Write down 7 as next digit of the result. 
Result so far: 52979.5077
Subtracting 5390 from 6100 leaves us with 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

The final outcome is 52979.5077, with a leftover of 0.0071.