We divide 31691380 by 798
We want to figure out the number of times 31691380 can be divided by 798.

Let's proceed to step 1:
When dividing 3 by 798, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 798

On to step 2:
The number 798 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Bring next digit (6) of the dividend behind the 31 and repeat the process: 316 / 798

Going ahead to step 3:
If we divide 316 by 798, we get 0 and a remainder of 316.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 316 leaves us with 316.
Include the next digit (9) from the dividend after 316, then repeat: 3169 / 798

On to step 4:
3169 divided by 798 is 3 with a remainder of 775.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 2394 away from 3169, we end up with 775.
Take the next digit (1) from the dividend and append it to 775, then repeat: 7751 / 798

Advancing to step 5:
If we divide 7751 by 798, we get 9 and a remainder of 569.
The next digit of our result is 9. 
Result so far: 39.0
If we take 7182 away from 7751, we end up with 569.
Take the next digit (3) from the dividend and append it to 569, then repeat: 5693 / 798

Let's proceed to step 6:
If we divide 5693 by 798, we get 7 and a remainder of 107.
Use 7 as the next digit of our solution. 
Result so far: 397.0
Subtracting 5586 from 5693 leaves us with 107.
Fetch the next digit (8) from the dividend, attach it to 107 and continue: 1078 / 798

Let's proceed to step 7:
When dividing 1078 by 798, we get 1 with a remainder of 280.
Write down 1 as next digit of the result. 
Result so far: 3971.0
Subtract 798 from 1078 to get 280.
Grab the next digit (0) from the dividend, add it to 280, then carry on: 2800 / 798

Going ahead to step 8:
If we divide 2800 by 798, we get 3 and a remainder of 406.
Write down 3 as next digit of the result. 
Result so far: 39713.0
If we subtract 2394 from 2800, we get 406.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4060, and continue the process.

Moving on to step 9:
4060 divided by 798 is 5 with a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 39713.5
Subtracting 3990 from 4060 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Step 10:
If we divide 700 by 798, we get 0 and a remainder of 700.
Record the quotient 0 as the next digit in the result. 
Result so far: 39713.5
Subtract 0 from 700 to get 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7000, and continue the process.

Let's proceed to step 11:
When dividing 7000 by 798, we get 8 with a remainder of 616.
Record the quotient 8 as the next digit in the result. 
Result so far: 39713.508
If we take 6384 away from 7000, we end up with 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

Let's proceed to step 12:
798 can be fit into 6160 7 times, resulting in a remainder of 574.
Put 7 as the next digit of the answer. 
Result so far: 39713.5087
If we take 5586 away from 6160, we end up with 574.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5740, and continue the process.

Let's proceed to step 13:
When dividing 5740 by 798, we get 7 with a remainder of 154.
Use 7 as the next digit of our solution. 
Result so far: 39713.50877
If we subtract 5586 from 5740, we get 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

In conclusion, the division gives 39713.50877 with a balance of 0.000154.