Let's divide 165058 by 12
We want to figure out the number of times 165058 can be divided by 12.

Advancing to step 1:
1 divided by 12 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 12

On to step 2:
If we divide 16 by 12, we get 1 and a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 4 after subtracting 12 from 16.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 12

Step 3:
The number 12 fits into 45 3 times, leaving a remainder of 9.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we take 36 away from 45, we end up with 9.
Include the next digit (0) from the dividend after 9, then repeat: 90 / 12

Let's proceed to step 4:
The number 12 fits into 90 7 times, leaving a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 137.0
If we subtract 84 from 90, we get 6.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 12

Let's proceed to step 5:
12 goes into 65 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 1375.0
Subtract 60 from 65 to get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 12

On to step 6:
58 divided by 12 is 4 with a remainder of 10.
Record the quotient 4 as the next digit in the result. 
Result so far: 13754.0
Subtract 48 from 58 to 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.

Advancing to step 7:
100 divided by 12 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 13754.8
If we take 96 away from 100, we end up 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.

On to step 8:
40 divided by 12 is 3 with a remainder of 4.
The next digit of our result is 3. 
Result so far: 13754.83
If we take 36 away from 40, we end up 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.

On to step 9:
If we divide 40 by 12, we get 3 and a remainder of 4.
The next digit of our result is 3. 
Result so far: 13754.833
If we take 36 away from 40, we end up 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.

Our division results in 13754.833 with a remaining 0.0004.