We look at the division of 507174 by 12 
We want to divide 507174 by 12.

Step 1:
The number 12 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 12

Step 2:
12 can be fit into 50 4 times, resulting in a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 2 after subtracting 48 from 50.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 12

Going ahead to step 3:
When dividing 27 by 12, we get 2 with a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 42.0
If we take 24 away from 27, we end up with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 12

Let's proceed to step 4:
12 can be fit into 31 2 times, resulting in a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 422.0
If we take 24 away from 31, we end up with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 12

Step 5:
77 divided by 12 is 6 with a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 4226.0
Deduct 72 from 77 and we're left with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 12

Moving on to step 6:
54 divided by 12 is 4 with a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 42264.0
If we subtract 48 from 54, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
If we divide 60 by 12, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 42264.5
Subtract 60 from 60 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
12 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 42264.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
12 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 42264.5
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 42264.5 with a balance of 0.0.