Let's divide 838470 by 45
We want to figure out the number of times 838470 can be divided by 45.

On to step 1:
45 goes into 8 0 times with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 45

Advancing to step 2:
If we divide 83 by 45, we get 1 and a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 45 away from 83, we end up with 38.
Grab the next digit (8) from the dividend, add it to 38, then carry on: 388 / 45

Going ahead to step 3:
If we divide 388 by 45, we get 8 and a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
If we take 360 away from 388, we end up with 28.
Bring next digit (4) of the dividend behind the 28 and repeat the process: 284 / 45

On to step 4:
The number 45 fits into 284 6 times, leaving a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 186.0
Deduct 270 from 284 and we're left with 14.
Bring next digit (7) of the dividend behind the 14 and repeat the process: 147 / 45

On to step 5:
When dividing 147 by 45, we get 3 with a remainder of 12.
The number 3 becomes the next digit in our result. 
Result so far: 1863.0
Subtract 135 from 147 to get 12.
Take the next digit (0) from the dividend and append it to 12, then repeat: 120 / 45

Step 6:
45 can be fit into 120 2 times, resulting in a remainder of 30.
Use 2 as the next digit of our solution. 
Result so far: 18632.0
Subtract 90 from 120 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 7:
45 can be fit into 300 6 times, resulting in a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 18632.6
Deduct 270 from 300 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
When dividing 300 by 45, we get 6 with a remainder of 30.
Put 6 as the next digit of the answer. 
Result so far: 18632.66
If we subtract 270 from 300, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The quotient of the division is 18632.66, and the remainder is 0.03.