Let's divide 40789500 by 174
Let's see how many times 174 fits into 40789500.

Step 1:
If we divide 4 by 174, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 174

Let's proceed to step 2:
When dividing 40 by 174, we get 0 with 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.
Bring next digit (7) of the dividend behind the 40 and repeat the process: 407 / 174

Going ahead to step 3:
If we divide 407 by 174, we get 2 and a remainder of 59.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 348 from 407, we get 59.
Take the next digit (8) from the dividend and append it to 59, then repeat: 598 / 174

Let's proceed to step 4:
The number 174 fits into 598 3 times, leaving a remainder of 76.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
If we take 522 away from 598, we end up with 76.
Bring next digit (9) of the dividend behind the 76 and repeat the process: 769 / 174

Going ahead to step 5:
The number 174 fits into 769 4 times, leaving a remainder of 73.
Use 4 as the next digit of our solution. 
Result so far: 234.0
Deduct 696 from 769 and we're left with 73.
Take the next digit (5) from the dividend and append it to 73, then repeat: 735 / 174

Moving on to step 6:
735 divided by 174 is 4 with a remainder of 39.
Write down 4 as next digit of the result. 
Result so far: 2344.0
Deduct 696 from 735 and we're left with 39.
Bring next digit (0) of the dividend behind the 39 and repeat the process: 390 / 174

Let's proceed to step 7:
174 can be fit into 390 2 times, resulting in a remainder of 42.
Record the quotient 2 as the next digit in the result. 
Result so far: 23442.0
If we take 348 away from 390, we end up with 42.
Take the next digit (0) from the dividend and append it to 42, then repeat: 420 / 174

Step 8:
174 goes into 420 2 times with a remainder of 72.
Put 2 as the next digit of the answer. 
Result so far: 234422.0
Subtract 348 from 420 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.

On to step 9:
174 can be fit into 720 4 times, resulting in a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 234422.4
If we take 696 away from 720, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 10:
240 divided by 174 is 1 with a remainder of 66.
Use 1 as the next digit of our solution. 
Result so far: 234422.41
If we subtract 174 from 240, we get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 11:
The number 174 fits into 660 3 times, leaving a remainder of 138.
Record the quotient 3 as the next digit in the result. 
Result so far: 234422.413
If we take 522 away from 660, we end up with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Advancing to step 12:
When dividing 1380 by 174, we get 7 with a remainder of 162.
The number 7 becomes the next digit in our result. 
Result so far: 234422.4137
Subtracting 1218 from 1380 leaves us with 162.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

Moving on to step 13:
174 goes into 1620 9 times with a remainder of 54.
The number 9 becomes the next digit in our result. 
Result so far: 234422.41379
Subtracting 1566 from 1620 leaves us with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Advancing to step 14:
174 goes into 540 3 times with a remainder of 18.
The next digit of our result is 3. 
Result so far: 234422.413793
Subtracting 522 from 540 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 15:
174 goes into 180 1 times with a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 234422.4137931
If we subtract 174 from 180, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 16:
174 can be fit into 60 0 times, resulting in a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 234422.4137931
Deduct 0 from 60 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

In conclusion, the division gives 234422.4137931 with a balance of 6e-08.