24985180 divided by 791 
We want to figure out the number of times 24985180 can be divided by 791.

On to step 1:
If we divide 2 by 791, we get 0 and a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 791

Going ahead to step 2:
24 divided by 791 is 0 with a remainder of 24.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 24, we end up with 24.
Take the next digit (9) from the dividend and append it to 24, then repeat: 249 / 791

Moving on to step 3:
When dividing 249 by 791, we get 0 with a remainder of 249.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 249, we get 249.
Take the next digit (8) from the dividend and append it to 249, then repeat: 2498 / 791

On to step 4:
791 goes into 2498 3 times with a remainder of 125.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 125 after subtracting 2373 from 2498.
Take the next digit (5) from the dividend and append it to 125, then repeat: 1255 / 791

Moving on to step 5:
If we divide 1255 by 791, we get 1 and a remainder of 464.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
Subtracting 791 from 1255 leaves us with 464.
Append the next digit (1) from the dividend to 464 and continue with: 4641 / 791

Advancing to step 6:
When dividing 4641 by 791, we get 5 with a remainder of 686.
Put 5 as the next digit of the answer. 
Result so far: 315.0
The remainder is 686 after subtracting 3955 from 4641.
Take the next digit (8) from the dividend and append it to 686, then repeat: 6868 / 791

On to step 7:
When dividing 6868 by 791, we get 8 with a remainder of 540.
Use 8 as the next digit of our solution. 
Result so far: 3158.0
If we subtract 6328 from 6868, we get 540.
Bring next digit (0) of the dividend behind the 540 and repeat the process: 5400 / 791

Moving on to step 8:
791 can be fit into 5400 6 times, resulting in a remainder of 654.
Put 6 as the next digit of the answer. 
Result so far: 31586.0
Deduct 4746 from 5400 and we're left with 654.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6540, and continue the process.

Let's proceed to step 9:
If we divide 6540 by 791, we get 8 and a remainder of 212.
Write down 8 as next digit of the result. 
Result so far: 31586.8
Deduct 6328 from 6540 and we're left with 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

On to step 10:
2120 divided by 791 is 2 with a remainder of 538.
Use 2 as the next digit of our solution. 
Result so far: 31586.82
Subtract 1582 from 2120 to get 538.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5380, and continue the process.

Step 11:
791 can be fit into 5380 6 times, resulting in a remainder of 634.
The next digit of our result is 6. 
Result so far: 31586.826
If we take 4746 away from 5380, we end up with 634.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6340, and continue the process.

Step 12:
791 goes into 6340 8 times with a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 31586.8268
Subtracting 6328 from 6340 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

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

On to step 14:
1200 divided by 791 is 1 with a remainder of 409.
Use 1 as the next digit of our solution. 
Result so far: 31586.826801
Subtracting 791 from 1200 leaves us with 409.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

Advancing to step 15:
791 goes into 4090 5 times with a remainder of 135.
The next digit of our result is 5. 
Result so far: 31586.8268015
Deduct 3955 from 4090 and we're left with 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

Advancing to step 16:
When dividing 1350 by 791, we get 1 with a remainder of 559.
The number 1 becomes the next digit in our result. 
Result so far: 31586.82680151
The remainder is 559 after subtracting 791 from 1350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5590, and continue the process.

After the division, we end up with 31586.82680151 and a remainder of 5.59e-07.