Let's divide 30371 by 794
Let's see how many times 794 fits into 30371.

On to step 1:
When dividing 3 by 794, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 794

Step 2:
When dividing 30 by 794, we get 0 with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 30 after subtracting 0 from 30.
Bring next digit (3) of the dividend behind the 30 and repeat the process: 303 / 794

Moving on to step 3:
When dividing 303 by 794, we get 0 with a remainder of 303.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 303 after subtracting 0 from 303.
Append the next digit (7) from the dividend to 303 and continue with: 3037 / 794

On to step 4:
794 can be fit into 3037 3 times, resulting in a remainder of 655.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 655 after subtracting 2382 from 3037.
Fetch the next digit (1) from the dividend, attach it to 655 and continue: 6551 / 794

Moving on to step 5:
6551 divided by 794 is 8 with a remainder of 199.
The next digit of our result is 8. 
Result so far: 38.0
If we take 6352 away from 6551, we end up with 199.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1990, and continue the process.

Let's proceed to step 6:
The number 794 fits into 1990 2 times, leaving a remainder of 402.
The number 2 becomes the next digit in our result. 
Result so far: 38.2
Subtract 1588 from 1990 to get 402.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4020, and continue the process.

Going ahead to step 7:
4020 divided by 794 is 5 with a remainder of 50.
The number 5 becomes the next digit in our result. 
Result so far: 38.25
If we take 3970 away from 4020, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 8:
794 goes into 500 0 times with a remainder of 500.
The number 0 becomes the next digit in our result. 
Result so far: 38.25
The remainder is 500 after subtracting 0 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

Advancing to step 9:
794 goes into 5000 6 times with a remainder of 236.
The next digit of our result is 6. 
Result so far: 38.2506
Subtract 4764 from 5000 to get 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Let's proceed to step 10:
794 can be fit into 2360 2 times, resulting in a remainder of 772.
The number 2 becomes the next digit in our result. 
Result so far: 38.25062
Subtract 1588 from 2360 to get 772.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7720, and continue the process.

Going ahead to step 11:
794 goes into 7720 9 times with a remainder of 574.
Use 9 as the next digit of our solution. 
Result so far: 38.250629
If we take 7146 away from 7720, 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.

Advancing to step 12:
The number 794 fits into 5740 7 times, leaving a remainder of 182.
Use 7 as the next digit of our solution. 
Result so far: 38.2506297
Deduct 5558 from 5740 and we're left with 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Moving on to step 13:
When dividing 1820 by 794, we get 2 with a remainder of 232.
Use 2 as the next digit of our solution. 
Result so far: 38.25062972
If we subtract 1588 from 1820, we get 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

In conclusion, the division gives 38.25062972 with a balance of 2.32e-07.