Let's divide 18861580 by 822
Let's see how many times 822 fits into 18861580.

Step 1:
When dividing 1 by 822, we get 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 822

On to step 2:
If we divide 18 by 822, we get 0 and a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 18 after subtracting 0 from 18.
Fetch the next digit (8) from the dividend, attach it to 18 and continue: 188 / 822

Going ahead to step 3:
822 goes into 188 0 times with a remainder of 188.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 188, we end up with 188.
Fetch the next digit (6) from the dividend, attach it to 188 and continue: 1886 / 822

Let's proceed to step 4:
The number 822 fits into 1886 2 times, leaving a remainder of 242.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 1644 from 1886 to get 242.
Include the next digit (1) from the dividend after 242, then repeat: 2421 / 822

Moving on to step 5:
2421 divided by 822 is 2 with a remainder of 777.
Write down 2 as next digit of the result. 
Result so far: 22.0
Subtracting 1644 from 2421 leaves us with 777.
Append the next digit (5) from the dividend to 777 and continue with: 7775 / 822

Step 6:
822 goes into 7775 9 times with a remainder of 377.
Put 9 as the next digit of the answer. 
Result so far: 229.0
Deduct 7398 from 7775 and we're left with 377.
Grab the next digit (8) from the dividend, add it to 377, then carry on: 3778 / 822

Going ahead to step 7:
3778 divided by 822 is 4 with a remainder of 490.
Put 4 as the next digit of the answer. 
Result so far: 2294.0
Deduct 3288 from 3778 and we're left with 490.
Grab the next digit (0) from the dividend, add it to 490, then carry on: 4900 / 822

Going ahead to step 8:
822 can be fit into 4900 5 times, resulting in a remainder of 790.
The next digit of our result is 5. 
Result so far: 22945.0
Subtract 4110 from 4900 to get 790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7900, and continue the process.

Going ahead to step 9:
When dividing 7900 by 822, we get 9 with a remainder of 502.
Put 9 as the next digit of the answer. 
Result so far: 22945.9
Subtracting 7398 from 7900 leaves us with 502.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5020, and continue the process.

Advancing to step 10:
5020 divided by 822 is 6 with a remainder of 88.
Record the quotient 6 as the next digit in the result. 
Result so far: 22945.96
Subtract 4932 from 5020 to get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Let's proceed to step 11:
If we divide 880 by 822, we get 1 and a remainder of 58.
Use 1 as the next digit of our solution. 
Result so far: 22945.961
Subtract 822 from 880 to get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Going ahead to step 12:
580 divided by 822 is 0 with a remainder of 580.
Record the quotient 0 as the next digit in the result. 
Result so far: 22945.961
The remainder is 580 after subtracting 0 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

On to step 13:
When dividing 5800 by 822, we get 7 with a remainder of 46.
Put 7 as the next digit of the answer. 
Result so far: 22945.96107
If we subtract 5754 from 5800, we 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 14:
460 divided by 822 is 0 with a remainder of 460.
The next digit of our result is 0. 
Result so far: 22945.96107
Subtract 0 from 460 to get 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Let's proceed to step 15:
822 goes into 4600 5 times with a remainder of 490.
The next digit of our result is 5. 
Result so far: 22945.9610705
Subtract 4110 from 4600 to get 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

Step 16:
822 goes into 4900 5 times with a remainder of 790.
Put 5 as the next digit of the answer. 
Result so far: 22945.96107055
If we subtract 4110 from 4900, we get 790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7900, and continue the process.

In conclusion, the division gives 22945.96107055 with a balance of 7.9e-07.