23791874 ÷ 797 
We want to divide 23791874 by 797.

Advancing to step 1:
797 can be fit into 2 0 times, resulting in a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 797

On to step 2:
The number 797 fits into 23 0 times, leaving a remainder of 23.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 23 leaves us with 23.
Fetch the next digit (7) from the dividend, attach it to 23 and continue: 237 / 797

On to step 3:
797 can be fit into 237 0 times, resulting in a remainder of 237.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 237 after subtracting 0 from 237.
Append the next digit (9) from the dividend to 237 and continue with: 2379 / 797

Going ahead to step 4:
2379 divided by 797 is 2 with a remainder of 785.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 785 after subtracting 1594 from 2379.
Fetch the next digit (1) from the dividend, attach it to 785 and continue: 7851 / 797

Advancing to step 5:
797 goes into 7851 9 times with a remainder of 678.
Use 9 as the next digit of our solution. 
Result so far: 29.0
Deduct 7173 from 7851 and we're left with 678.
Append the next digit (8) from the dividend to 678 and continue with: 6788 / 797

Moving on to step 6:
6788 divided by 797 is 8 with a remainder of 412.
Record the quotient 8 as the next digit in the result. 
Result so far: 298.0
Subtracting 6376 from 6788 leaves us with 412.
Bring next digit (7) of the dividend behind the 412 and repeat the process: 4127 / 797

On to step 7:
The number 797 fits into 4127 5 times, leaving a remainder of 142.
The number 5 becomes the next digit in our result. 
Result so far: 2985.0
Subtract 3985 from 4127 to get 142.
Include the next digit (4) from the dividend after 142, then repeat: 1424 / 797

Let's proceed to step 8:
797 can be fit into 1424 1 times, resulting in a remainder of 627.
Write down 1 as next digit of the result. 
Result so far: 29851.0
If we take 797 away from 1424, we end up with 627.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6270, and continue the process.

Step 9:
6270 divided by 797 is 7 with a remainder of 691.
Use 7 as the next digit of our solution. 
Result so far: 29851.7
If we subtract 5579 from 6270, we get 691.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6910, and continue the process.

Moving on to step 10:
797 goes into 6910 8 times with a remainder of 534.
Write down 8 as next digit of the result. 
Result so far: 29851.78
If we subtract 6376 from 6910, we get 534.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5340, and continue the process.

Let's proceed to step 11:
5340 divided by 797 is 6 with a remainder of 558.
The next digit of our result is 6. 
Result so far: 29851.786
Subtract 4782 from 5340 to get 558.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5580, and continue the process.

Moving on to step 12:
797 goes into 5580 7 times with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 29851.7867
The remainder is 1 after subtracting 5579 from 5580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 13:
797 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 29851.7867
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 14:
797 can be fit into 100 0 times, resulting in a remainder of 100.
The next digit of our result is 0. 
Result so far: 29851.7867
If we take 0 away from 100, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

After the division, we end up with 29851.7867 and a remainder of 1e-05.