We look at the division of 502970 by 45 
We're looking to find how many times 45 goes into 502970.

Moving on to step 1:
When dividing 5 by 45, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 45

Moving on to step 2:
The number 45 fits into 50 1 times, leaving a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 45 from 50 leaves us with 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 45

Going ahead to step 3:
52 divided by 45 is 1 with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 11.0
If we subtract 45 from 52, we get 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 45

Going ahead to step 4:
When dividing 79 by 45, we get 1 with a remainder of 34.
The next digit of our result is 1. 
Result so far: 111.0
Subtract 45 from 79 to get 34.
Append the next digit (7) from the dividend to 34 and continue with: 347 / 45

On to step 5:
45 goes into 347 7 times with a remainder of 32.
Use 7 as the next digit of our solution. 
Result so far: 1117.0
Deduct 315 from 347 and we're left with 32.
Include the next digit (0) from the dividend after 32, then repeat: 320 / 45

Let's proceed to step 6:
45 can be fit into 320 7 times, resulting in a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 11177.0
Deduct 315 from 320 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
45 goes into 50 1 times with a remainder of 5.
The next digit of our result is 1. 
Result so far: 11177.1
If we subtract 45 from 50, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 8:
If we divide 50 by 45, we get 1 and a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 11177.11
Subtract 45 from 50 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final result is 11177.11 with a remainder of 0.005.