We're dividing 540634 by 78 
We want to divide 540634 by 78.

Let's proceed to step 1:
78 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 78

Going ahead to step 2:
The number 78 fits into 54 0 times, leaving a remainder of 54.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 54 to get 54.
Bring next digit (0) of the dividend behind the 54 and repeat the process: 540 / 78

On to step 3:
78 can be fit into 540 6 times, resulting in a remainder of 72.
Write down 6 as next digit of the result. 
Result so far: 6.0
The remainder is 72 after subtracting 468 from 540.
Take the next digit (6) from the dividend and append it to 72, then repeat: 726 / 78

Advancing to step 4:
When dividing 726 by 78, we get 9 with a remainder of 24.
The number 9 becomes the next digit in our result. 
Result so far: 69.0
Deduct 702 from 726 and we're left with 24.
Include the next digit (3) from the dividend after 24, then repeat: 243 / 78

Advancing to step 5:
If we divide 243 by 78, we get 3 and a remainder of 9.
Put 3 as the next digit of the answer. 
Result so far: 693.0
If we subtract 234 from 243, we get 9.
Take the next digit (4) from the dividend and append it to 9, then repeat: 94 / 78

On to step 6:
78 goes into 94 1 times with a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 6931.0
If we subtract 78 from 94, 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 7:
78 goes into 160 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 6931.2
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.

Advancing to step 8:
78 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 6931.2
Subtract 0 from 40 to 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.

Moving on to step 9:
78 goes into 400 5 times with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 6931.205
If we subtract 390 from 400, we 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 10:
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: 6931.2051
The remainder is 22 after subtracting 78 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 11:
If we divide 220 by 78, we get 2 and a remainder of 64.
The next digit of our result is 2. 
Result so far: 6931.20512
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.

Moving on to step 12:
If we divide 640 by 78, we get 8 and a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 6931.205128
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 13:
78 can be fit into 160 2 times, resulting in a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 6931.2051282
Subtract 156 from 160 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 14:
40 divided by 78 is 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 6931.2051282
Subtract 0 from 40 to 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.

The final result is 6931.2051282 with a remainder of 4e-08.