We're dividing 500012 by 10 
Our goal is to divide 500012 by 10.

Advancing to step 1:
When dividing 5 by 10, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 10

On to step 2:
10 goes into 50 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 50 from 50 to get 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 10

Step 3:
10 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 50.0
Deduct 0 from 0 and we're left with 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 10

Going ahead to step 4:
The number 10 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 500.0
Deduct 0 from 0 and we're left with 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 10

Advancing to step 5:
The number 10 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 5000.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 10

Let's proceed to step 6:
When dividing 12 by 10, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 50001.0
The remainder is 2 after subtracting 10 from 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
The number 10 fits into 20 2 times, leaving a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 50001.2
The remainder is 0 after subtracting 20 from 20.
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 8:
The number 10 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 50001.2
Deduct 0 from 0 and we're left 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:
The number 10 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 50001.2
Deduct 0 from 0 and we're left 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.

The final outcome is 50001.2, with a leftover of 0.0.