We divide 21745988 by 166
We want to figure out the number of times 21745988 can be divided by 166.

Going ahead to step 1:
166 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 166

Step 2:
166 goes into 21 0 times with a remainder of 21.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 21, we get 21.
Include the next digit (7) from the dividend after 21, then repeat: 217 / 166

On to step 3:
When dividing 217 by 166, we get 1 with a remainder of 51.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 166 from 217 leaves us with 51.
Include the next digit (4) from the dividend after 51, then repeat: 514 / 166

Step 4:
If we divide 514 by 166, we get 3 and a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 13.0
The remainder is 16 after subtracting 498 from 514.
Take the next digit (5) from the dividend and append it to 16, then repeat: 165 / 166

On to step 5:
166 can be fit into 165 0 times, resulting in a remainder of 165.
The number 0 becomes the next digit in our result. 
Result so far: 130.0
If we subtract 0 from 165, we get 165.
Grab the next digit (9) from the dividend, add it to 165, then carry on: 1659 / 166

Let's proceed to step 6:
166 can be fit into 1659 9 times, resulting in a remainder of 165.
Put 9 as the next digit of the answer. 
Result so far: 1309.0
Subtract 1494 from 1659 to get 165.
Bring next digit (8) of the dividend behind the 165 and repeat the process: 1658 / 166

Step 7:
The number 166 fits into 1658 9 times, leaving a remainder of 164.
Record the quotient 9 as the next digit in the result. 
Result so far: 13099.0
The remainder is 164 after subtracting 1494 from 1658.
Include the next digit (8) from the dividend after 164, then repeat: 1648 / 166

Step 8:
When dividing 1648 by 166, we get 9 with a remainder of 154.
Write down 9 as next digit of the result. 
Result so far: 130999.0
The remainder is 154 after subtracting 1494 from 1648.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Let's proceed to step 9:
166 goes into 1540 9 times with a remainder of 46.
Record the quotient 9 as the next digit in the result. 
Result so far: 130999.9
Subtract 1494 from 1540 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 10:
460 divided by 166 is 2 with a remainder of 128.
Record the quotient 2 as the next digit in the result. 
Result so far: 130999.92
Subtract 332 from 460 to get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

On to step 11:
166 can be fit into 1280 7 times, resulting in a remainder of 118.
Put 7 as the next digit of the answer. 
Result so far: 130999.927
Deduct 1162 from 1280 and we're left with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Going ahead to step 12:
166 can be fit into 1180 7 times, resulting in a remainder of 18.
Record the quotient 7 as the next digit in the result. 
Result so far: 130999.9277
The remainder is 18 after subtracting 1162 from 1180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 130999.9277, with a leftover of 0.00018.