540640 divided by 59 
We want to figure out the number of times 540640 can be divided by 59.

Going ahead to step 1:
59 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 59

Advancing to step 2:
The number 59 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
If we take 0 away from 54, we end up with 54.
Bring next digit (0) of the dividend behind the 54 and repeat the process: 540 / 59

Step 3:
When dividing 540 by 59, we get 9 with a remainder of 9.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we subtract 531 from 540, we get 9.
Grab the next digit (6) from the dividend, add it to 9, then carry on: 96 / 59

Step 4:
59 goes into 96 1 times with a remainder of 37.
Record the quotient 1 as the next digit in the result. 
Result so far: 91.0
If we subtract 59 from 96, we get 37.
Take the next digit (4) from the dividend and append it to 37, then repeat: 374 / 59

On to step 5:
374 divided by 59 is 6 with a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 916.0
If we subtract 354 from 374, we get 20.
Append the next digit (0) from the dividend to 20 and continue with: 200 / 59

Going ahead to step 6:
59 can be fit into 200 3 times, resulting in a remainder of 23.
Put 3 as the next digit of the answer. 
Result so far: 9163.0
Subtract 177 from 200 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 7:
If we divide 230 by 59, we get 3 and a remainder of 53.
Write down 3 as next digit of the result. 
Result so far: 9163.3
If we take 177 away from 230, we end up with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Going ahead to step 8:
530 divided by 59 is 8 with a remainder of 58.
Record the quotient 8 as the next digit in the result. 
Result so far: 9163.38
Subtracting 472 from 530 leaves us with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Let's proceed to step 9:
580 divided by 59 is 9 with a remainder of 49.
Put 9 as the next digit of the answer. 
Result so far: 9163.389
The remainder is 49 after subtracting 531 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

On to step 10:
The number 59 fits into 490 8 times, leaving a remainder of 18.
The next digit of our result is 8. 
Result so far: 9163.3898
The remainder is 18 after subtracting 472 from 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 11:
180 divided by 59 is 3 with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 9163.38983
Subtract 177 from 180 to 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.

On to step 12:
The number 59 fits into 30 0 times, leaving a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 9163.38983
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 13:
59 goes into 300 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 9163.3898305
If we subtract 295 from 300, we get 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 14:
50 divided by 59 is 0 with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 9163.3898305
Subtract 0 from 50 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Our division results in 9163.3898305 with a remaining 5e-08.