818858 divided by 45 
Let's see how many times 45 fits into 818858.

Step 1:
8 divided by 45 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 45

Step 2:
81 divided by 45 is 1 with a remainder of 36.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 45 away from 81, we end up with 36.
Fetch the next digit (8) from the dividend, attach it to 36 and continue: 368 / 45

On to step 3:
368 divided by 45 is 8 with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtract 360 from 368 to get 8.
Append the next digit (8) from the dividend to 8 and continue with: 88 / 45

On to step 4:
When dividing 88 by 45, we get 1 with a remainder of 43.
Put 1 as the next digit of the answer. 
Result so far: 181.0
If we take 45 away from 88, we end up with 43.
Append the next digit (5) from the dividend to 43 and continue with: 435 / 45

Moving on to step 5:
45 can be fit into 435 9 times, resulting in a remainder of 30.
The number 9 becomes the next digit in our result. 
Result so far: 1819.0
Deduct 405 from 435 and we're left with 30.
Fetch the next digit (8) from the dividend, attach it to 30 and continue: 308 / 45

Advancing to step 6:
When dividing 308 by 45, we get 6 with a remainder of 38.
Record the quotient 6 as the next digit in the result. 
Result so far: 18196.0
If we subtract 270 from 308, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 7:
When dividing 380 by 45, we get 8 with a remainder of 20.
Write down 8 as next digit of the result. 
Result so far: 18196.8
Subtract 360 from 380 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.

Step 8:
If we divide 200 by 45, we get 4 and a remainder of 20.
Use 4 as the next digit of our solution. 
Result so far: 18196.84
Subtracting 180 from 200 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
If we divide 200 by 45, we get 4 and a remainder of 20.
Use 4 as the next digit of our solution. 
Result so far: 18196.844
Subtracting 180 from 200 leaves us with 20.
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 outcome is 18196.844, with a leftover of 0.002.