We're dividing 540406 by 85 
We want to divide 540406 by 85.

Step 1:
The number 85 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 85

On to step 2:
The number 85 fits into 54 0 times, leaving a remainder of 54.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 54 leaves us with 54.
Take the next digit (0) from the dividend and append it to 54, then repeat: 540 / 85

Advancing to step 3:
85 goes into 540 6 times with a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtracting 510 from 540 leaves us with 30.
Include the next digit (4) from the dividend after 30, then repeat: 304 / 85

Moving on to step 4:
304 divided by 85 is 3 with a remainder of 49.
Record the quotient 3 as the next digit in the result. 
Result so far: 63.0
Deduct 255 from 304 and we're left with 49.
Grab the next digit (0) from the dividend, add it to 49, then carry on: 490 / 85

Advancing to step 5:
85 can be fit into 490 5 times, resulting in a remainder of 65.
Put 5 as the next digit of the answer. 
Result so far: 635.0
Deduct 425 from 490 and we're left with 65.
Take the next digit (6) from the dividend and append it to 65, then repeat: 656 / 85

On to step 6:
85 can be fit into 656 7 times, resulting in a remainder of 61.
Use 7 as the next digit of our solution. 
Result so far: 6357.0
If we subtract 595 from 656, we get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Step 7:
The number 85 fits into 610 7 times, leaving a remainder of 15.
Record the quotient 7 as the next digit in the result. 
Result so far: 6357.7
If we subtract 595 from 610, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 8:
When dividing 150 by 85, we get 1 with a remainder of 65.
The number 1 becomes the next digit in our result. 
Result so far: 6357.71
Deduct 85 from 150 and we're left with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Let's proceed to step 9:
The number 85 fits into 650 7 times, leaving a remainder of 55.
Use 7 as the next digit of our solution. 
Result so far: 6357.717
If we take 595 away from 650, we end up with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Let's proceed to step 10:
550 divided by 85 is 6 with a remainder of 40.
Put 6 as the next digit of the answer. 
Result so far: 6357.7176
If we take 510 away from 550, we end up with 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 11:
The number 85 fits into 400 4 times, leaving a remainder of 60.
Put 4 as the next digit of the answer. 
Result so far: 6357.71764
If we take 340 away from 400, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 12:
The number 85 fits into 600 7 times, leaving a remainder of 5.
The next digit of our result is 7. 
Result so far: 6357.717647
If we take 595 away from 600, we end up 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.

On to step 13:
If we divide 50 by 85, we get 0 and a remainder of 50.
The next digit of our result is 0. 
Result so far: 6357.717647
If we take 0 away from 50, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 14:
85 can be fit into 500 5 times, resulting in a remainder of 75.
Write down 5 as next digit of the result. 
Result so far: 6357.71764705
Subtract 425 from 500 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

In conclusion, the division gives 6357.71764705 with a balance of 7.5e-08.