Let's divide 166712 by 10
We're looking to find how many times 10 goes into 166712.

On to step 1:
The number 10 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 10

Step 2:
10 goes into 16 1 times with a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 10 away from 16, we end up with 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 10

On to step 3:
If we divide 66 by 10, we get 6 and a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
The remainder is 6 after subtracting 60 from 66.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 10

Advancing to step 4:
67 divided by 10 is 6 with a remainder of 7.
Write down 6 as next digit of the result. 
Result so far: 166.0
The remainder is 7 after subtracting 60 from 67.
Fetch the next digit (1) from the dividend, attach it to 7 and continue: 71 / 10

Advancing to step 5:
The number 10 fits into 71 7 times, leaving a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 1667.0
The remainder is 1 after subtracting 70 from 71.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 10

Going ahead to step 6:
10 goes into 12 1 times with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 16671.0
If we take 10 away from 12, we end up 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.

Step 7:
If we divide 20 by 10, we get 2 and a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 16671.2
Deduct 20 from 20 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.

Step 8:
10 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 16671.2
If we subtract 0 from 0, we 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 9:
The number 10 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 16671.2
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.

Our division results in 16671.2 with a remaining 0.0.