We're dividing 642145 by 59 
We're looking to find how many times 59 goes into 642145.

Step 1:
When dividing 6 by 59, we get 0 with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Grab the next digit (4) from the dividend, add it to 6, then carry on: 64 / 59

On to step 2:
If we divide 64 by 59, we get 1 and a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 59 from 64 to get 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 59

On to step 3:
59 can be fit into 52 0 times, resulting in a remainder of 52.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtract 0 from 52 to get 52.
Grab the next digit (1) from the dividend, add it to 52, then carry on: 521 / 59

Advancing to step 4:
If we divide 521 by 59, we get 8 and a remainder of 49.
The next digit of our result is 8. 
Result so far: 108.0
Deduct 472 from 521 and we're left with 49.
Append the next digit (4) from the dividend to 49 and continue with: 494 / 59

Advancing to step 5:
59 can be fit into 494 8 times, resulting in a remainder of 22.
The next digit of our result is 8. 
Result so far: 1088.0
Deduct 472 from 494 and we're left with 22.
Grab the next digit (5) from the dividend, add it to 22, then carry on: 225 / 59

Let's proceed to step 6:
59 can be fit into 225 3 times, resulting in a remainder of 48.
Put 3 as the next digit of the answer. 
Result so far: 10883.0
Subtracting 177 from 225 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Let's proceed to step 7:
59 goes into 480 8 times with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 10883.8
Subtract 472 from 480 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.

Moving on to step 8:
When dividing 80 by 59, we get 1 with a remainder of 21.
The number 1 becomes the next digit in our result. 
Result so far: 10883.81
The remainder is 21 after subtracting 59 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 9:
When dividing 210 by 59, we get 3 with a remainder of 33.
The next digit of our result is 3. 
Result so far: 10883.813
Subtract 177 from 210 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 10:
330 divided by 59 is 5 with a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 10883.8135
Deduct 295 from 330 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 11:
If we divide 350 by 59, we get 5 and a remainder of 55.
Put 5 as the next digit of the answer. 
Result so far: 10883.81355
If we take 295 away from 350, 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.

After the division, we end up with 10883.81355 and a remainder of 5.5e-05.