We look at the division of 512522 by 12 
Let's see how many times 12 fits into 512522.

Going ahead to step 1:
If we divide 5 by 12, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 12

On to step 2:
The number 12 fits into 51 4 times, leaving a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtract 48 from 51 to get 3.
Include the next digit (2) from the dividend after 3, then repeat: 32 / 12

On to step 3:
12 goes into 32 2 times with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 42.0
If we subtract 24 from 32, we get 8.
Append the next digit (5) from the dividend to 8 and continue with: 85 / 12

Going ahead to step 4:
12 goes into 85 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 427.0
The remainder is 1 after subtracting 84 from 85.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 12

Advancing to step 5:
12 can be fit into 12 1 times, resulting in a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 4271.0
If we subtract 12 from 12, we get 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 12

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

Going ahead to step 7:
12 goes into 20 1 times with a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 42710.1
Deduct 12 from 20 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
12 can be fit into 80 6 times, resulting in a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 42710.16
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
12 goes into 80 6 times with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 42710.166
If we take 72 away from 80, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final outcome is 42710.166, with a leftover of 0.0008.