We're dividing 22747617 by 791 
We're looking to find how many times 791 goes into 22747617.

On to step 1:
The number 791 fits into 2 0 times, leaving a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 791

Let's proceed to step 2:
22 divided by 791 is 0 with a remainder of 22.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 22 after subtracting 0 from 22.
Bring next digit (7) of the dividend behind the 22 and repeat the process: 227 / 791

Going ahead to step 3:
The number 791 fits into 227 0 times, leaving a remainder of 227.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 227 after subtracting 0 from 227.
Bring next digit (4) of the dividend behind the 227 and repeat the process: 2274 / 791

Let's proceed to step 4:
The number 791 fits into 2274 2 times, leaving a remainder of 692.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 1582 from 2274 and we're left with 692.
Take the next digit (7) from the dividend and append it to 692, then repeat: 6927 / 791

Step 5:
791 goes into 6927 8 times with a remainder of 599.
Write down 8 as next digit of the result. 
Result so far: 28.0
If we take 6328 away from 6927, we end up with 599.
Bring next digit (6) of the dividend behind the 599 and repeat the process: 5996 / 791

Moving on to step 6:
The number 791 fits into 5996 7 times, leaving a remainder of 459.
Write down 7 as next digit of the result. 
Result so far: 287.0
Deduct 5537 from 5996 and we're left with 459.
Fetch the next digit (1) from the dividend, attach it to 459 and continue: 4591 / 791

Let's proceed to step 7:
791 can be fit into 4591 5 times, resulting in a remainder of 636.
The number 5 becomes the next digit in our result. 
Result so far: 2875.0
If we subtract 3955 from 4591, we get 636.
Grab the next digit (7) from the dividend, add it to 636, then carry on: 6367 / 791

Step 8:
791 goes into 6367 8 times with a remainder of 39.
The number 8 becomes the next digit in our result. 
Result so far: 28758.0
If we take 6328 away from 6367, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

On to step 9:
390 divided by 791 is 0 with a remainder of 390.
The number 0 becomes the next digit in our result. 
Result so far: 28758.0
The remainder is 390 after subtracting 0 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

Step 10:
If we divide 3900 by 791, we get 4 and a remainder of 736.
Record the quotient 4 as the next digit in the result. 
Result so far: 28758.04
If we subtract 3164 from 3900, we get 736.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7360, and continue the process.

On to step 11:
When dividing 7360 by 791, we get 9 with a remainder of 241.
Use 9 as the next digit of our solution. 
Result so far: 28758.049
Deduct 7119 from 7360 and we're left with 241.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2410, and continue the process.

On to step 12:
2410 divided by 791 is 3 with a remainder of 37.
Write down 3 as next digit of the result. 
Result so far: 28758.0493
Deduct 2373 from 2410 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 13:
When dividing 370 by 791, we get 0 with a remainder of 370.
Write down 0 as next digit of the result. 
Result so far: 28758.0493
The remainder is 370 after subtracting 0 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

On to step 14:
3700 divided by 791 is 4 with a remainder of 536.
Record the quotient 4 as the next digit in the result. 
Result so far: 28758.049304
Subtracting 3164 from 3700 leaves us with 536.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5360, and continue the process.

Moving on to step 15:
791 goes into 5360 6 times with a remainder of 614.
Record the quotient 6 as the next digit in the result. 
Result so far: 28758.0493046
Deduct 4746 from 5360 and we're left with 614.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6140, and continue the process.

On to step 16:
6140 divided by 791 is 7 with a remainder of 603.
The next digit of our result is 7. 
Result so far: 28758.04930467
Subtract 5537 from 6140 to get 603.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6030, and continue the process.

The final result is 28758.04930467 with a remainder of 6.03e-07.