We're dividing 877236 by 45 
We're looking to find how many times 45 goes into 877236.

Let's proceed to step 1:
If we divide 8 by 45, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 45

Let's proceed to step 2:
45 goes into 87 1 times with a remainder of 42.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 45 from 87, we get 42.
Fetch the next digit (7) from the dividend, attach it to 42 and continue: 427 / 45

Going ahead to step 3:
If we divide 427 by 45, we get 9 and a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 19.0
Subtract 405 from 427 to get 22.
Fetch the next digit (2) from the dividend, attach it to 22 and continue: 222 / 45

Advancing to step 4:
If we divide 222 by 45, we get 4 and a remainder of 42.
Record the quotient 4 as the next digit in the result. 
Result so far: 194.0
Deduct 180 from 222 and we're left with 42.
Include the next digit (3) from the dividend after 42, then repeat: 423 / 45

Moving on to step 5:
When dividing 423 by 45, we get 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 1949.0
If we take 405 away from 423, we end up with 18.
Take the next digit (6) from the dividend and append it to 18, then repeat: 186 / 45

Going ahead to step 6:
45 goes into 186 4 times with a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 19494.0
If we subtract 180 from 186, 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.

Advancing to step 7:
The number 45 fits into 60 1 times, leaving a remainder of 15.
The number 1 becomes the next digit in our result. 
Result so far: 19494.1
Subtract 45 from 60 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
If we divide 150 by 45, we get 3 and a remainder of 15.
The next digit of our result is 3. 
Result so far: 19494.13
Subtract 135 from 150 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 9:
The number 45 fits into 150 3 times, leaving a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 19494.133
Deduct 135 from 150 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

In conclusion, the division gives 19494.133 with a balance of 0.0015.