31021839 ÷ 797 
Let's see how many times 797 fits into 31021839.

Step 1:
797 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 797

On to step 2:
If we divide 31 by 797, we get 0 and a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Grab the next digit (0) from the dividend, add it to 31, then carry on: 310 / 797

Advancing to step 3:
When dividing 310 by 797, we get 0 with a remainder of 310.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 310 to get 310.
Append the next digit (2) from the dividend to 310 and continue with: 3102 / 797

Moving on to step 4:
797 can be fit into 3102 3 times, resulting in a remainder of 711.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 2391 from 3102 leaves us with 711.
Include the next digit (1) from the dividend after 711, then repeat: 7111 / 797

Moving on to step 5:
If we divide 7111 by 797, we get 8 and a remainder of 735.
The number 8 becomes the next digit in our result. 
Result so far: 38.0
Subtract 6376 from 7111 to get 735.
Fetch the next digit (8) from the dividend, attach it to 735 and continue: 7358 / 797

Going ahead to step 6:
797 can be fit into 7358 9 times, resulting in a remainder of 185.
The next digit of our result is 9. 
Result so far: 389.0
If we take 7173 away from 7358, we end up with 185.
Take the next digit (3) from the dividend and append it to 185, then repeat: 1853 / 797

Going ahead to step 7:
The number 797 fits into 1853 2 times, leaving a remainder of 259.
Record the quotient 2 as the next digit in the result. 
Result so far: 3892.0
Subtracting 1594 from 1853 leaves us with 259.
Grab the next digit (9) from the dividend, add it to 259, then carry on: 2599 / 797

Moving on to step 8:
2599 divided by 797 is 3 with a remainder of 208.
Put 3 as the next digit of the answer. 
Result so far: 38923.0
The remainder is 208 after subtracting 2391 from 2599.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Advancing to step 9:
The number 797 fits into 2080 2 times, leaving a remainder of 486.
The number 2 becomes the next digit in our result. 
Result so far: 38923.2
If we take 1594 away from 2080, we end up with 486.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4860, and continue the process.

Let's proceed to step 10:
When dividing 4860 by 797, we get 6 with a remainder of 78.
Use 6 as the next digit of our solution. 
Result so far: 38923.26
If we take 4782 away from 4860, we end up with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Going ahead to step 11:
If we divide 780 by 797, we get 0 and a remainder of 780.
Put 0 as the next digit of the answer. 
Result so far: 38923.26
Subtracting 0 from 780 leaves us with 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

Step 12:
797 goes into 7800 9 times with a remainder of 627.
The next digit of our result is 9. 
Result so far: 38923.2609
Deduct 7173 from 7800 and we're left 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.

Advancing to step 13:
If we divide 6270 by 797, we get 7 and a remainder of 691.
Write down 7 as next digit of the result. 
Result so far: 38923.26097
Subtract 5579 from 6270 to 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.

Let's proceed to step 14:
When dividing 6910 by 797, we get 8 with a remainder of 534.
Write down 8 as next digit of the result. 
Result so far: 38923.260978
Subtracting 6376 from 6910 leaves us with 534.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5340, and continue the process.

Moving on to step 15:
5340 divided by 797 is 6 with a remainder of 558.
Put 6 as the next digit of the answer. 
Result so far: 38923.2609786
Deduct 4782 from 5340 and we're left with 558.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5580, and continue the process.

Let's proceed to step 16:
797 can be fit into 5580 7 times, resulting in a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 38923.26097867
If we subtract 5579 from 5580, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

In conclusion, the division gives 38923.26097867 with a balance of 1e-09.