We divide 840356 by 45
Let's see how many times 45 fits into 840356.

Step 1:
If we divide 8 by 45, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
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

Going ahead to step 2:
When dividing 84 by 45, we get 1 with a remainder of 39.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 45 from 84 and we're left with 39.
Append the next digit (0) from the dividend to 39 and continue with: 390 / 45

Step 3:
The number 45 fits into 390 8 times, leaving a remainder of 30.
Put 8 as the next digit of the answer. 
Result so far: 18.0
If we subtract 360 from 390, we get 30.
Take the next digit (3) from the dividend and append it to 30, then repeat: 303 / 45

Advancing to step 4:
When dividing 303 by 45, we get 6 with a remainder of 33.
Record the quotient 6 as the next digit in the result. 
Result so far: 186.0
Deduct 270 from 303 and we're left with 33.
Append the next digit (5) from the dividend to 33 and continue with: 335 / 45

On to step 5:
The number 45 fits into 335 7 times, leaving a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 1867.0
Deduct 315 from 335 and we're left with 20.
Bring next digit (6) of the dividend behind the 20 and repeat the process: 206 / 45

Step 6:
45 goes into 206 4 times with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 18674.0
If we take 180 away from 206, 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.

Advancing to step 7:
When dividing 260 by 45, we get 5 with a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 18674.5
Deduct 225 from 260 and we're left with 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 8:
When dividing 350 by 45, we get 7 with a remainder of 35.
Put 7 as the next digit of the answer. 
Result so far: 18674.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.

Moving on to step 9:
45 can be fit into 350 7 times, resulting in a remainder of 35.
Put 7 as the next digit of the answer. 
Result so far: 18674.577
Deduct 315 from 350 and we're left with 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 18674.577 with a balance of 0.0035.