Let's divide 798940 by 78
We want to figure out the number of times 798940 can be divided by 78.

Let's proceed to step 1:
78 goes into 7 0 times with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 78

Advancing to step 2:
78 can be fit into 79 1 times, resulting in a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 78 from 79, we get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 78

Advancing to step 3:
If we divide 18 by 78, we get 0 and a remainder of 18.
The next digit of our result is 0. 
Result so far: 10.0
The remainder is 18 after subtracting 0 from 18.
Take the next digit (9) from the dividend and append it to 18, then repeat: 189 / 78

On to step 4:
78 goes into 189 2 times with a remainder of 33.
Use 2 as the next digit of our solution. 
Result so far: 102.0
The remainder is 33 after subtracting 156 from 189.
Append the next digit (4) from the dividend to 33 and continue with: 334 / 78

Let's proceed to step 5:
334 divided by 78 is 4 with a remainder of 22.
Use 4 as the next digit of our solution. 
Result so far: 1024.0
If we take 312 away from 334, we end up with 22.
Fetch the next digit (0) from the dividend, attach it to 22 and continue: 220 / 78

Going ahead to step 6:
220 divided by 78 is 2 with a remainder of 64.
The number 2 becomes the next digit in our result. 
Result so far: 10242.0
If we subtract 156 from 220, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 7:
When dividing 640 by 78, we get 8 with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 10242.8
If we subtract 624 from 640, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 8:
160 divided by 78 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 10242.82
The remainder is 4 after subtracting 156 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 9:
The number 78 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 10242.82
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 10:
If we divide 400 by 78, we get 5 and a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 10242.8205
Subtract 390 from 400 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 11:
78 can be fit into 100 1 times, resulting in a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 10242.82051
Deduct 78 from 100 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 12:
78 can be fit into 220 2 times, resulting in a remainder of 64.
Write down 2 as next digit of the result. 
Result so far: 10242.820512
Subtract 156 from 220 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 13:
78 can be fit into 640 8 times, resulting in a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 10242.8205128
Deduct 624 from 640 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 14:
If we divide 160 by 78, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 10242.82051282
If we take 156 away from 160, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 10242.82051282, with a leftover of 4e-09.