640478 divided by 37 
We want to divide 640478 by 37.

Moving on to step 1:
If we divide 6 by 37, we get 0 and a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Bring next digit (4) of the dividend behind the 6 and repeat the process: 64 / 37

Moving on to step 2:
64 divided by 37 is 1 with a remainder of 27.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 37 from 64 leaves us with 27.
Bring next digit (0) of the dividend behind the 27 and repeat the process: 270 / 37

Advancing to step 3:
37 can be fit into 270 7 times, resulting in a remainder of 11.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtracting 259 from 270 leaves us with 11.
Bring next digit (4) of the dividend behind the 11 and repeat the process: 114 / 37

Let's proceed to step 4:
37 goes into 114 3 times with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 173.0
Subtracting 111 from 114 leaves us with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 37

Going ahead to step 5:
If we divide 37 by 37, we get 1 and a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1731.0
Subtracting 37 from 37 leaves us with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 37

On to step 6:
37 can be fit into 8 0 times, resulting in a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 17310.0
The remainder is 8 after subtracting 0 from 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 7:
80 divided by 37 is 2 with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 17310.2
If we take 74 away from 80, we end up 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.

On to step 8:
60 divided by 37 is 1 with a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 17310.21
The remainder is 23 after subtracting 37 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 9:
If we divide 230 by 37, we get 6 and a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 17310.216
Subtract 222 from 230 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 10:
The number 37 fits into 80 2 times, leaving a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 17310.2162
If we subtract 74 from 80, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 11:
37 goes into 60 1 times with a remainder of 23.
The next digit of our result is 1. 
Result so far: 17310.21621
The remainder is 23 after subtracting 37 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 12:
37 can be fit into 230 6 times, resulting in a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 17310.216216
If we subtract 222 from 230, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 13:
37 goes into 80 2 times with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 17310.2162162
Deduct 74 from 80 and we're left 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.

Moving on to step 14:
The number 37 fits into 60 1 times, leaving a remainder of 23.
The next digit of our result is 1. 
Result so far: 17310.21621621
Deduct 37 from 60 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

In conclusion, the division gives 17310.21621621 with a balance of 2.3e-08.