40229780 ÷ 128 
Let's see how many times 128 fits into 40229780.

Let's proceed to step 1:
The number 128 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
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 / 128

Advancing to step 2:
40 divided by 128 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Fetch the next digit (2) from the dividend, attach it to 40 and continue: 402 / 128

Going ahead to step 3:
128 goes into 402 3 times with a remainder of 18.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 384 from 402, we get 18.
Fetch the next digit (2) from the dividend, attach it to 18 and continue: 182 / 128

Let's proceed to step 4:
The number 128 fits into 182 1 times, leaving a remainder of 54.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Deduct 128 from 182 and we're left with 54.
Fetch the next digit (9) from the dividend, attach it to 54 and continue: 549 / 128

Going ahead to step 5:
549 divided by 128 is 4 with a remainder of 37.
Put 4 as the next digit of the answer. 
Result so far: 314.0
The remainder is 37 after subtracting 512 from 549.
Take the next digit (7) from the dividend and append it to 37, then repeat: 377 / 128

Advancing to step 6:
The number 128 fits into 377 2 times, leaving a remainder of 121.
Use 2 as the next digit of our solution. 
Result so far: 3142.0
Subtracting 256 from 377 leaves us with 121.
Grab the next digit (8) from the dividend, add it to 121, then carry on: 1218 / 128

On to step 7:
If we divide 1218 by 128, we get 9 and a remainder of 66.
Write down 9 as next digit of the result. 
Result so far: 31429.0
The remainder is 66 after subtracting 1152 from 1218.
Take the next digit (0) from the dividend and append it to 66, then repeat: 660 / 128

Step 8:
660 divided by 128 is 5 with a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 314295.0
If we subtract 640 from 660, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
When dividing 200 by 128, we get 1 with a remainder of 72.
The number 1 becomes the next digit in our result. 
Result so far: 314295.1
Subtract 128 from 200 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 10:
128 goes into 720 5 times with a remainder of 80.
The number 5 becomes the next digit in our result. 
Result so far: 314295.15
The remainder is 80 after subtracting 640 from 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 11:
The number 128 fits into 800 6 times, leaving a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 314295.156
If we subtract 768 from 800, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 12:
320 divided by 128 is 2 with a remainder of 64.
The next digit of our result is 2. 
Result so far: 314295.1562
Subtracting 256 from 320 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 13:
If we divide 640 by 128, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 314295.15625
If we subtract 640 from 640, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 14:
0 divided by 128 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 314295.15625
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 15:
128 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 314295.15625
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 314295.15625 with a remaining 0.0.