358166 ÷ 45 
We're looking to find how many times 45 goes into 358166.

Let's proceed to step 1:
When dividing 3 by 45, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 45

Step 2:
If we divide 35 by 45, we get 0 and a remainder of 35.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 35, we end up with 35.
Bring next digit (8) of the dividend behind the 35 and repeat the process: 358 / 45

Going ahead to step 3:
The number 45 fits into 358 7 times, leaving a remainder of 43.
Put 7 as the next digit of the answer. 
Result so far: 7.0
If we take 315 away from 358, we end up with 43.
Take the next digit (1) from the dividend and append it to 43, then repeat: 431 / 45

Step 4:
When dividing 431 by 45, we get 9 with a remainder of 26.
Put 9 as the next digit of the answer. 
Result so far: 79.0
The remainder is 26 after subtracting 405 from 431.
Bring next digit (6) of the dividend behind the 26 and repeat the process: 266 / 45

Step 5:
266 divided by 45 is 5 with a remainder of 41.
Use 5 as the next digit of our solution. 
Result so far: 795.0
Subtracting 225 from 266 leaves us with 41.
Take the next digit (6) from the dividend and append it to 41, then repeat: 416 / 45

On to step 6:
The number 45 fits into 416 9 times, leaving a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 7959.0
Deduct 405 from 416 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 7:
45 goes into 110 2 times with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 7959.2
Subtract 90 from 110 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
When dividing 200 by 45, we get 4 with a remainder of 20.
The number 4 becomes the next digit in our result. 
Result so far: 7959.24
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
45 goes into 200 4 times with a remainder of 20.
Record the quotient 4 as the next digit in the result. 
Result so far: 7959.244
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final result is 7959.244 with a remainder of 0.002.