We're dividing 540064 by 37 
We're looking to find how many times 37 goes into 540064.

Going ahead to step 1:
5 divided by 37 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 37

Step 2:
If we divide 54 by 37, we get 1 and a remainder of 17.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 37 from 54, we get 17.
Include the next digit (0) from the dividend after 17, then repeat: 170 / 37

Moving on to step 3:
When dividing 170 by 37, we get 4 with a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
If we take 148 away from 170, we end up with 22.
Include the next digit (0) from the dividend after 22, then repeat: 220 / 37

Let's proceed to step 4:
If we divide 220 by 37, we get 5 and a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 145.0
Subtracting 185 from 220 leaves us with 35.
Append the next digit (6) from the dividend to 35 and continue with: 356 / 37

Going ahead to step 5:
When dividing 356 by 37, we get 9 with a remainder of 23.
Record the quotient 9 as the next digit in the result. 
Result so far: 1459.0
Subtracting 333 from 356 leaves us with 23.
Bring next digit (4) of the dividend behind the 23 and repeat the process: 234 / 37

Let's proceed to step 6:
37 goes into 234 6 times with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 14596.0
If we take 222 away from 234, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 7:
37 goes into 120 3 times with a remainder of 9.
The number 3 becomes the next digit in our result. 
Result so far: 14596.3
Subtract 111 from 120 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 8:
90 divided by 37 is 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 14596.32
If we take 74 away from 90, we end up 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.

Moving on to step 9:
160 divided by 37 is 4 with a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 14596.324
If we take 148 away from 160, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 10:
37 goes into 120 3 times with a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 14596.3243
The remainder is 9 after subtracting 111 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 11:
37 can be fit into 90 2 times, resulting in a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 14596.32432
The remainder is 16 after subtracting 74 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 12:
The number 37 fits into 160 4 times, leaving a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 14596.324324
Deduct 148 from 160 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 13:
The number 37 fits into 120 3 times, leaving a remainder of 9.
The next digit of our result is 3. 
Result so far: 14596.3243243
The remainder is 9 after subtracting 111 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 14:
37 can be fit into 90 2 times, resulting in a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 14596.32432432
Deduct 74 from 90 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.

In conclusion, the division gives 14596.32432432 with a balance of 1.6e-08.