We look at the division of 540772 by 79 
We're looking to find how many times 79 goes into 540772.

Let's proceed to step 1:
5 divided by 79 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 79

Advancing to step 2:
The number 79 fits into 54 0 times, leaving a remainder of 54.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 54 to get 54.
Fetch the next digit (0) from the dividend, attach it to 54 and continue: 540 / 79

Step 3:
540 divided by 79 is 6 with a remainder of 66.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Subtracting 474 from 540 leaves us with 66.
Bring next digit (7) of the dividend behind the 66 and repeat the process: 667 / 79

On to step 4:
When dividing 667 by 79, we get 8 with a remainder of 35.
Record the quotient 8 as the next digit in the result. 
Result so far: 68.0
Subtract 632 from 667 to get 35.
Take the next digit (7) from the dividend and append it to 35, then repeat: 357 / 79

Going ahead to step 5:
The number 79 fits into 357 4 times, leaving a remainder of 41.
Record the quotient 4 as the next digit in the result. 
Result so far: 684.0
If we subtract 316 from 357, we get 41.
Append the next digit (2) from the dividend to 41 and continue with: 412 / 79

Step 6:
79 can be fit into 412 5 times, resulting in a remainder of 17.
Put 5 as the next digit of the answer. 
Result so far: 6845.0
Subtract 395 from 412 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 7:
If we divide 170 by 79, we get 2 and a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 6845.2
If we subtract 158 from 170, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 8:
120 divided by 79 is 1 with a remainder of 41.
The number 1 becomes the next digit in our result. 
Result so far: 6845.21
Deduct 79 from 120 and we're left with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Advancing to step 9:
79 goes into 410 5 times with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 6845.215
Subtracting 395 from 410 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 10:
79 goes into 150 1 times with a remainder of 71.
The number 1 becomes the next digit in our result. 
Result so far: 6845.2151
Subtracting 79 from 150 leaves us with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Step 11:
710 divided by 79 is 8 with a remainder of 78.
Use 8 as the next digit of our solution. 
Result so far: 6845.21518
Deduct 632 from 710 and we're left with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

On to step 12:
If we divide 780 by 79, we get 9 and a remainder of 69.
The next digit of our result is 9. 
Result so far: 6845.215189
Subtracting 711 from 780 leaves us with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Step 13:
The number 79 fits into 690 8 times, leaving a remainder of 58.
Record the quotient 8 as the next digit in the result. 
Result so far: 6845.2151898
Subtract 632 from 690 to get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 14:
If we divide 580 by 79, we get 7 and a remainder of 27.
Put 7 as the next digit of the answer. 
Result so far: 6845.21518987
The remainder is 27 after subtracting 553 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Our division results in 6845.21518987 with a remaining 2.7e-08.