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

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

Advancing to step 2:
The number 798 fits into 31 0 times, leaving a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Take the next digit (2) from the dividend and append it to 31, then repeat: 312 / 798

Advancing to step 3:
If we divide 312 by 798, we get 0 and a remainder of 312.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 312 leaves us with 312.
Grab the next digit (5) from the dividend, add it to 312, then carry on: 3125 / 798

Let's proceed to step 4:
The number 798 fits into 3125 3 times, leaving a remainder of 731.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
The remainder is 731 after subtracting 2394 from 3125.
Append the next digit (4) from the dividend to 731 and continue with: 7314 / 798

Step 5:
The number 798 fits into 7314 9 times, leaving a remainder of 132.
Write down 9 as next digit of the result. 
Result so far: 39.0
If we subtract 7182 from 7314, we get 132.
Grab the next digit (4) from the dividend, add it to 132, then carry on: 1324 / 798

Going ahead to step 6:
The number 798 fits into 1324 1 times, leaving a remainder of 526.
Use 1 as the next digit of our solution. 
Result so far: 391.0
Subtracting 798 from 1324 leaves us with 526.
Include the next digit (2) from the dividend after 526, then repeat: 5262 / 798

On to step 7:
798 goes into 5262 6 times with a remainder of 474.
Put 6 as the next digit of the answer. 
Result so far: 3916.0
If we subtract 4788 from 5262, we get 474.
Include the next digit (8) from the dividend after 474, then repeat: 4748 / 798

On to step 8:
The number 798 fits into 4748 5 times, leaving a remainder of 758.
Write down 5 as next digit of the result. 
Result so far: 39165.0
Deduct 3990 from 4748 and we're left with 758.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7580, and continue the process.

Advancing to step 9:
When dividing 7580 by 798, we get 9 with a remainder of 398.
Record the quotient 9 as the next digit in the result. 
Result so far: 39165.9
The remainder is 398 after subtracting 7182 from 7580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3980, and continue the process.

Step 10:
798 can be fit into 3980 4 times, resulting in a remainder of 788.
Record the quotient 4 as the next digit in the result. 
Result so far: 39165.94
The remainder is 788 after subtracting 3192 from 3980.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7880, and continue the process.

Advancing to step 11:
When dividing 7880 by 798, we get 9 with a remainder of 698.
Write down 9 as next digit of the result. 
Result so far: 39165.949
Deduct 7182 from 7880 and we're left with 698.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6980, and continue the process.

Going ahead to step 12:
When dividing 6980 by 798, we get 8 with a remainder of 596.
The number 8 becomes the next digit in our result. 
Result so far: 39165.9498
Subtract 6384 from 6980 to get 596.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5960, and continue the process.

Let's proceed to step 13:
798 goes into 5960 7 times with a remainder of 374.
The next digit of our result is 7. 
Result so far: 39165.94987
Deduct 5586 from 5960 and we're left with 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Moving on to step 14:
798 goes into 3740 4 times with a remainder of 548.
Use 4 as the next digit of our solution. 
Result so far: 39165.949874
The remainder is 548 after subtracting 3192 from 3740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5480, and continue the process.

Step 15:
5480 divided by 798 is 6 with a remainder of 692.
The number 6 becomes the next digit in our result. 
Result so far: 39165.9498746
The remainder is 692 after subtracting 4788 from 5480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6920, and continue the process.

Step 16:
798 can be fit into 6920 8 times, resulting in a remainder of 536.
Use 8 as the next digit of our solution. 
Result so far: 39165.94987468
If we take 6384 away from 6920, we end up 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.

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