840176 ÷ 45 
We want to divide 840176 by 45.

Let's proceed to step 1:
The number 45 fits into 8 0 times, leaving a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Bring next digit (4) of the dividend behind the 8 and repeat the process: 84 / 45

Step 2:
When dividing 84 by 45, we get 1 with a remainder of 39.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 45 from 84 leaves us with 39.
Fetch the next digit (0) from the dividend, attach it to 39 and continue: 390 / 45

On to step 3:
390 divided by 45 is 8 with a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
If we take 360 away from 390, we end up with 30.
Fetch the next digit (1) from the dividend, attach it to 30 and continue: 301 / 45

Advancing to step 4:
301 divided by 45 is 6 with a remainder of 31.
Record the quotient 6 as the next digit in the result. 
Result so far: 186.0
The remainder is 31 after subtracting 270 from 301.
Include the next digit (7) from the dividend after 31, then repeat: 317 / 45

On to step 5:
45 can be fit into 317 7 times, resulting in a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 1867.0
Deduct 315 from 317 and we're left with 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 45

Moving on to step 6:
If we divide 26 by 45, we get 0 and a remainder of 26.
Use 0 as the next digit of our solution. 
Result so far: 18670.0
If we take 0 away from 26, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 7:
The number 45 fits into 260 5 times, leaving a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 18670.5
The remainder is 35 after subtracting 225 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 8:
45 goes into 350 7 times with a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 18670.57
Subtract 315 from 350 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 9:
When dividing 350 by 45, we get 7 with a remainder of 35.
The next digit of our result is 7. 
Result so far: 18670.577
Subtract 315 from 350 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

In conclusion, the division gives 18670.577 with a balance of 0.0035.