We look at the division of 30158938 by 798 
Our goal is to divide 30158938 by 798.

Going ahead to step 1:
798 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 798

Moving on to step 2:
798 can be fit into 30 0 times, resulting in a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 30, we get 30.
Bring next digit (1) of the dividend behind the 30 and repeat the process: 301 / 798

Let's proceed to step 3:
301 divided by 798 is 0 with a remainder of 301.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 301, we end up with 301.
Append the next digit (5) from the dividend to 301 and continue with: 3015 / 798

Moving on to step 4:
When dividing 3015 by 798, we get 3 with a remainder of 621.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 2394 from 3015 leaves us with 621.
Bring next digit (8) of the dividend behind the 621 and repeat the process: 6218 / 798

Step 5:
6218 divided by 798 is 7 with a remainder of 632.
Write down 7 as next digit of the result. 
Result so far: 37.0
Subtracting 5586 from 6218 leaves us with 632.
Bring next digit (9) of the dividend behind the 632 and repeat the process: 6329 / 798

On to step 6:
798 can be fit into 6329 7 times, resulting in a remainder of 743.
The next digit of our result is 7. 
Result so far: 377.0
Subtracting 5586 from 6329 leaves us with 743.
Fetch the next digit (3) from the dividend, attach it to 743 and continue: 7433 / 798

Moving on to step 7:
7433 divided by 798 is 9 with a remainder of 251.
Write down 9 as next digit of the result. 
Result so far: 3779.0
If we subtract 7182 from 7433, we get 251.
Grab the next digit (8) from the dividend, add it to 251, then carry on: 2518 / 798

On to step 8:
If we divide 2518 by 798, we get 3 and a remainder of 124.
Put 3 as the next digit of the answer. 
Result so far: 37793.0
If we subtract 2394 from 2518, we get 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Moving on to step 9:
The number 798 fits into 1240 1 times, leaving a remainder of 442.
The number 1 becomes the next digit in our result. 
Result so far: 37793.1
If we take 798 away from 1240, we end up with 442.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

Going ahead to step 10:
If we divide 4420 by 798, we get 5 and a remainder of 430.
The number 5 becomes the next digit in our result. 
Result so far: 37793.15
Subtract 3990 from 4420 to get 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Step 11:
The number 798 fits into 4300 5 times, leaving a remainder of 310.
Put 5 as the next digit of the answer. 
Result so far: 37793.155
The remainder is 310 after subtracting 3990 from 4300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Our division results in 37793.155 with a remaining 0.031.