540332 ÷ 7 
We're looking to find how many times 7 goes into 540332.

On to step 1:
7 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
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 / 7

Going ahead to step 2:
When dividing 54 by 7, we get 7 with a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtracting 49 from 54 leaves us with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 7

Step 3:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 77.0
Subtract 49 from 50 to get 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 7

Going ahead to step 4:
7 can be fit into 13 1 times, resulting in a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 771.0
The remainder is 6 after subtracting 7 from 13.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 7

Step 5:
The number 7 fits into 63 9 times, leaving a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 7719.0
The remainder is 0 after subtracting 63 from 63.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 7

Let's proceed to step 6:
7 goes into 2 0 times with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 77190.0
Deduct 0 from 2 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
When dividing 20 by 7, we get 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 77190.2
Subtracting 14 from 20 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 8:
7 goes into 60 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 77190.28
If we subtract 56 from 60, we 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.

Going ahead to step 9:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 77190.285
Deduct 35 from 40 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 10:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 77190.2857
Subtracting 49 from 50 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 11:
The number 7 fits into 10 1 times, leaving a remainder of 3.
The next digit of our result is 1. 
Result so far: 77190.28571
If we subtract 7 from 10, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 12:
7 goes into 30 4 times with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 77190.285714
If we take 28 away from 30, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 13:
20 divided by 7 is 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 77190.2857142
Subtracting 14 from 20 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 14:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 77190.28571428
If we subtract 56 from 60, we 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.

In conclusion, the division gives 77190.28571428 with a balance of 4e-09.