We look at the division of 870046 by 45 
Our goal is to divide 870046 by 45.

Advancing to step 1:
8 divided by 45 is 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 45

Moving on to step 2:
If we divide 87 by 45, we get 1 and a remainder of 42.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 45 from 87 and we're left with 42.
Fetch the next digit (0) from the dividend, attach it to 42 and continue: 420 / 45

Moving on to step 3:
When dividing 420 by 45, we get 9 with a remainder of 15.
Write down 9 as next digit of the result. 
Result so far: 19.0
If we take 405 away from 420, we end up with 15.
Grab the next digit (0) from the dividend, add it to 15, then carry on: 150 / 45

Going ahead to step 4:
45 goes into 150 3 times with a remainder of 15.
Record the quotient 3 as the next digit in the result. 
Result so far: 193.0
If we subtract 135 from 150, we get 15.
Include the next digit (4) from the dividend after 15, then repeat: 154 / 45

On to step 5:
45 can be fit into 154 3 times, resulting in a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 1933.0
The remainder is 19 after subtracting 135 from 154.
Grab the next digit (6) from the dividend, add it to 19, then carry on: 196 / 45

Going ahead to step 6:
The number 45 fits into 196 4 times, leaving a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 19334.0
Deduct 180 from 196 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 7:
160 divided by 45 is 3 with a remainder of 25.
Record the quotient 3 as the next digit in the result. 
Result so far: 19334.3
Deduct 135 from 160 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 8:
When dividing 250 by 45, we get 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 19334.35
Deduct 225 from 250 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 9:
45 can be fit into 250 5 times, resulting in a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 19334.355
Subtracting 225 from 250 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The quotient of the division is 19334.355, and the remainder is 0.0025.