We're dividing 511672 by 45 
We want to figure out the number of times 511672 can be divided by 45.

Advancing to step 1:
45 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 45

Advancing to step 2:
45 can be fit into 51 1 times, resulting in a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 45 from 51 leaves us with 6.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 45

Advancing to step 3:
45 can be fit into 61 1 times, resulting in a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Deduct 45 from 61 and we're left with 16.
Include the next digit (6) from the dividend after 16, then repeat: 166 / 45

Moving on to step 4:
The number 45 fits into 166 3 times, leaving a remainder of 31.
The number 3 becomes the next digit in our result. 
Result so far: 113.0
If we take 135 away from 166, we end up with 31.
Include the next digit (7) from the dividend after 31, then repeat: 317 / 45

On to step 5:
45 can be fit into 317 7 times, resulting in a remainder of 2.
The next digit of our result is 7. 
Result so far: 1137.0
The remainder is 2 after subtracting 315 from 317.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 45

On to step 6:
The number 45 fits into 22 0 times, leaving a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 11370.0
Subtracting 0 from 22 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 7:
If we divide 220 by 45, we get 4 and a remainder of 40.
Put 4 as the next digit of the answer. 
Result so far: 11370.4
If we subtract 180 from 220, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 8:
The number 45 fits into 400 8 times, leaving a remainder of 40.
The next digit of our result is 8. 
Result so far: 11370.48
Deduct 360 from 400 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 9:
If we divide 400 by 45, we get 8 and a remainder of 40.
Record the quotient 8 as the next digit in the result. 
Result so far: 11370.488
Subtract 360 from 400 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The final outcome is 11370.488, with a leftover of 0.004.