We're dividing 30761094 by 798 
We want to divide 30761094 by 798.

Going ahead to step 1:
3 divided by 798 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 798

Moving on to step 2:
798 goes into 30 0 times with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 30 to get 30.
Append the next digit (7) from the dividend to 30 and continue with: 307 / 798

Going ahead to step 3:
When dividing 307 by 798, we get 0 with a remainder of 307.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 307 leaves us with 307.
Include the next digit (6) from the dividend after 307, then repeat: 3076 / 798

Going ahead to step 4:
3076 divided by 798 is 3 with a remainder of 682.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 2394 from 3076 leaves us with 682.
Bring next digit (1) of the dividend behind the 682 and repeat the process: 6821 / 798

Moving on to step 5:
The number 798 fits into 6821 8 times, leaving a remainder of 437.
Put 8 as the next digit of the answer. 
Result so far: 38.0
Deduct 6384 from 6821 and we're left with 437.
Take the next digit (0) from the dividend and append it to 437, then repeat: 4370 / 798

Moving on to step 6:
When dividing 4370 by 798, we get 5 with a remainder of 380.
The number 5 becomes the next digit in our result. 
Result so far: 385.0
Deduct 3990 from 4370 and we're left with 380.
Take the next digit (9) from the dividend and append it to 380, then repeat: 3809 / 798

Advancing to step 7:
When dividing 3809 by 798, we get 4 with a remainder of 617.
Record the quotient 4 as the next digit in the result. 
Result so far: 3854.0
If we take 3192 away from 3809, we end up with 617.
Bring next digit (4) of the dividend behind the 617 and repeat the process: 6174 / 798

Let's proceed to step 8:
If we divide 6174 by 798, we get 7 and a remainder of 588.
Write down 7 as next digit of the result. 
Result so far: 38547.0
The remainder is 588 after subtracting 5586 from 6174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5880, and continue the process.

Let's proceed to step 9:
If we divide 5880 by 798, we get 7 and a remainder of 294.
Use 7 as the next digit of our solution. 
Result so far: 38547.7
Deduct 5586 from 5880 and we're left with 294.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2940, and continue the process.

Step 10:
798 can be fit into 2940 3 times, resulting in a remainder of 546.
The next digit of our result is 3. 
Result so far: 38547.73
If we subtract 2394 from 2940, we get 546.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5460, and continue the process.

Step 11:
798 can be fit into 5460 6 times, resulting in a remainder of 672.
The number 6 becomes the next digit in our result. 
Result so far: 38547.736
Subtract 4788 from 5460 to get 672.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6720, and continue the process.

Moving on to step 12:
6720 divided by 798 is 8 with a remainder of 336.
The number 8 becomes the next digit in our result. 
Result so far: 38547.7368
The remainder is 336 after subtracting 6384 from 6720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

On to step 13:
If we divide 3360 by 798, we get 4 and a remainder of 168.
The number 4 becomes the next digit in our result. 
Result so far: 38547.73684
The remainder is 168 after subtracting 3192 from 3360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Let's proceed to step 14:
1680 divided by 798 is 2 with a remainder of 84.
Record the quotient 2 as the next digit in the result. 
Result so far: 38547.736842
If we subtract 1596 from 1680, we get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 15:
When dividing 840 by 798, we get 1 with a remainder of 42.
Use 1 as the next digit of our solution. 
Result so far: 38547.7368421
Subtract 798 from 840 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 16:
420 divided by 798 is 0 with a remainder of 420.
Record the quotient 0 as the next digit in the result. 
Result so far: 38547.7368421
The remainder is 420 after subtracting 0 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

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