We're dividing 40579706 by 370 
Our goal is to divide 40579706 by 370.

Step 1:
370 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 370

Moving on to step 2:
370 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Include the next digit (5) from the dividend after 40, then repeat: 405 / 370

Going ahead to step 3:
If we divide 405 by 370, we get 1 and a remainder of 35.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 35 after subtracting 370 from 405.
Append the next digit (7) from the dividend to 35 and continue with: 357 / 370

Let's proceed to step 4:
If we divide 357 by 370, we get 0 and a remainder of 357.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Deduct 0 from 357 and we're left with 357.
Grab the next digit (9) from the dividend, add it to 357, then carry on: 3579 / 370

Going ahead to step 5:
3579 divided by 370 is 9 with a remainder of 249.
The next digit of our result is 9. 
Result so far: 109.0
Subtracting 3330 from 3579 leaves us with 249.
Take the next digit (7) from the dividend and append it to 249, then repeat: 2497 / 370

Advancing to step 6:
If we divide 2497 by 370, we get 6 and a remainder of 277.
The next digit of our result is 6. 
Result so far: 1096.0
Subtract 2220 from 2497 to get 277.
Include the next digit (0) from the dividend after 277, then repeat: 2770 / 370

Going ahead to step 7:
370 goes into 2770 7 times with a remainder of 180.
The number 7 becomes the next digit in our result. 
Result so far: 10967.0
If we take 2590 away from 2770, we end up with 180.
Bring next digit (6) of the dividend behind the 180 and repeat the process: 1806 / 370

Let's proceed to step 8:
When dividing 1806 by 370, we get 4 with a remainder of 326.
Record the quotient 4 as the next digit in the result. 
Result so far: 109674.0
If we take 1480 away from 1806, we end up with 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

Let's proceed to step 9:
When dividing 3260 by 370, we get 8 with a remainder of 300.
Record the quotient 8 as the next digit in the result. 
Result so far: 109674.8
Subtract 2960 from 3260 to get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

On to step 10:
370 goes into 3000 8 times with a remainder of 40.
The number 8 becomes the next digit in our result. 
Result so far: 109674.88
If we take 2960 away from 3000, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The quotient of the division is 109674.88, and the remainder is 0.04.