We divide 511870 by 12
We want to figure out the number of times 511870 can be divided by 12.

Advancing to step 1:
12 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 12

Going ahead to step 2:
12 can be fit into 51 4 times, resulting in a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Deduct 48 from 51 and we're left with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 12

Step 3:
12 goes into 31 2 times with a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 42.0
The remainder is 7 after subtracting 24 from 31.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 12

On to step 4:
When dividing 78 by 12, we get 6 with a remainder of 6.
Record the quotient 6 as the next digit in the result. 
Result so far: 426.0
Deduct 72 from 78 and we're left with 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 12

Step 5:
The number 12 fits into 67 5 times, leaving a remainder of 7.
Write down 5 as next digit of the result. 
Result so far: 4265.0
If we subtract 60 from 67, we get 7.
Include the next digit (0) from the dividend after 7, then repeat: 70 / 12

Going ahead to step 6:
70 divided by 12 is 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 42655.0
If we subtract 60 from 70, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 7:
12 goes into 100 8 times with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 42655.8
Deduct 96 from 100 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
The number 12 fits into 40 3 times, leaving a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 42655.83
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
12 goes into 40 3 times with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 42655.833
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 42655.833 with a remainder of 0.0004.