We're dividing 5035670 by 794 
We're looking to find how many times 794 goes into 5035670.

Going ahead to step 1:
794 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 794

Moving on to step 2:
The number 794 fits into 50 0 times, leaving a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Grab the next digit (3) from the dividend, add it to 50, then carry on: 503 / 794

Moving on to step 3:
794 goes into 503 0 times with a remainder of 503.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 503 to get 503.
Grab the next digit (5) from the dividend, add it to 503, then carry on: 5035 / 794

Advancing to step 4:
794 can be fit into 5035 6 times, resulting in a remainder of 271.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtracting 4764 from 5035 leaves us with 271.
Bring next digit (6) of the dividend behind the 271 and repeat the process: 2716 / 794

Let's proceed to step 5:
2716 divided by 794 is 3 with a remainder of 334.
Put 3 as the next digit of the answer. 
Result so far: 63.0
Deduct 2382 from 2716 and we're left with 334.
Take the next digit (7) from the dividend and append it to 334, then repeat: 3347 / 794

Let's proceed to step 6:
When dividing 3347 by 794, we get 4 with a remainder of 171.
Use 4 as the next digit of our solution. 
Result so far: 634.0
The remainder is 171 after subtracting 3176 from 3347.
Grab the next digit (0) from the dividend, add it to 171, then carry on: 1710 / 794

Moving on to step 7:
When dividing 1710 by 794, we get 2 with a remainder of 122.
Use 2 as the next digit of our solution. 
Result so far: 6342.0
If we take 1588 away from 1710, we end up with 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Step 8:
794 can be fit into 1220 1 times, resulting in a remainder of 426.
The number 1 becomes the next digit in our result. 
Result so far: 6342.1
The remainder is 426 after subtracting 794 from 1220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4260, and continue the process.

On to step 9:
The number 794 fits into 4260 5 times, leaving a remainder of 290.
Use 5 as the next digit of our solution. 
Result so far: 6342.15
If we subtract 3970 from 4260, we get 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Going ahead to step 10:
2900 divided by 794 is 3 with a remainder of 518.
Write down 3 as next digit of the result. 
Result so far: 6342.153
Deduct 2382 from 2900 and we're left with 518.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5180, and continue the process.

On to step 11:
794 goes into 5180 6 times with a remainder of 416.
Use 6 as the next digit of our solution. 
Result so far: 6342.1536
Deduct 4764 from 5180 and we're left with 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Going ahead to step 12:
If we divide 4160 by 794, we get 5 and a remainder of 190.
Write down 5 as next digit of the result. 
Result so far: 6342.15365
Deduct 3970 from 4160 and we're left with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Let's proceed to step 13:
794 goes into 1900 2 times with a remainder of 312.
The next digit of our result is 2. 
Result so far: 6342.153652
Subtracting 1588 from 1900 leaves us with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

On to step 14:
The number 794 fits into 3120 3 times, leaving a remainder of 738.
Use 3 as the next digit of our solution. 
Result so far: 6342.1536523
Subtract 2382 from 3120 to get 738.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7380, and continue the process.

Going ahead to step 15:
7380 divided by 794 is 9 with a remainder of 234.
Write down 9 as next digit of the result. 
Result so far: 6342.15365239
If we subtract 7146 from 7380, we get 234.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

Our division results in 6342.15365239 with a remaining 2.34e-07.