We're dividing 166996 by 59 
Our goal is to divide 166996 by 59.

Going ahead to step 1:
59 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 59

Let's proceed to step 2:
16 divided by 59 is 0 with a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 16 leaves us with 16.
Bring next digit (6) of the dividend behind the 16 and repeat the process: 166 / 59

Step 3:
The number 59 fits into 166 2 times, leaving a remainder of 48.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 48 after subtracting 118 from 166.
Include the next digit (9) from the dividend after 48, then repeat: 489 / 59

Advancing to step 4:
59 can be fit into 489 8 times, resulting in a remainder of 17.
Record the quotient 8 as the next digit in the result. 
Result so far: 28.0
Subtract 472 from 489 to get 17.
Include the next digit (9) from the dividend after 17, then repeat: 179 / 59

Moving on to step 5:
When dividing 179 by 59, we get 3 with a remainder of 2.
The next digit of our result is 3. 
Result so far: 283.0
The remainder is 2 after subtracting 177 from 179.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 59

On to step 6:
59 goes into 26 0 times with a remainder of 26.
Record the quotient 0 as the next digit in the result. 
Result so far: 2830.0
If we subtract 0 from 26, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 7:
59 goes into 260 4 times with a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 2830.4
Subtracting 236 from 260 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 8:
59 can be fit into 240 4 times, resulting in a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 2830.44
Subtracting 236 from 240 leaves us 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.

The quotient of the division is 2830.44, and the remainder is 0.004.