58040125 divided by 642 
We want to figure out the number of times 58040125 can be divided by 642.

Going ahead to step 1:
If we divide 5 by 642, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 642

Going ahead to step 2:
The number 642 fits into 58 0 times, leaving a remainder of 58.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Include the next digit (0) from the dividend after 58, then repeat: 580 / 642

Advancing to step 3:
If we divide 580 by 642, we get 0 and a remainder of 580.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 580 and we're left with 580.
Append the next digit (4) from the dividend to 580 and continue with: 5804 / 642

Let's proceed to step 4:
642 goes into 5804 9 times with a remainder of 26.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we subtract 5778 from 5804, we get 26.
Fetch the next digit (0) from the dividend, attach it to 26 and continue: 260 / 642

Step 5:
642 goes into 260 0 times with a remainder of 260.
Record the quotient 0 as the next digit in the result. 
Result so far: 90.0
The remainder is 260 after subtracting 0 from 260.
Append the next digit (1) from the dividend to 260 and continue with: 2601 / 642

Let's proceed to step 6:
642 can be fit into 2601 4 times, resulting in a remainder of 33.
Use 4 as the next digit of our solution. 
Result so far: 904.0
Subtract 2568 from 2601 to get 33.
Take the next digit (2) from the dividend and append it to 33, then repeat: 332 / 642

Let's proceed to step 7:
642 goes into 332 0 times with a remainder of 332.
The number 0 becomes the next digit in our result. 
Result so far: 9040.0
If we subtract 0 from 332, we get 332.
Grab the next digit (5) from the dividend, add it to 332, then carry on: 3325 / 642

Step 8:
If we divide 3325 by 642, we get 5 and a remainder of 115.
The number 5 becomes the next digit in our result. 
Result so far: 90405.0
The remainder is 115 after subtracting 3210 from 3325.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Step 9:
When dividing 1150 by 642, we get 1 with a remainder of 508.
Write down 1 as next digit of the result. 
Result so far: 90405.1
If we subtract 642 from 1150, we get 508.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

On to step 10:
642 can be fit into 5080 7 times, resulting in a remainder of 586.
The next digit of our result is 7. 
Result so far: 90405.17
The remainder is 586 after subtracting 4494 from 5080.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5860, and continue the process.

On to step 11:
If we divide 5860 by 642, we get 9 and a remainder of 82.
Record the quotient 9 as the next digit in the result. 
Result so far: 90405.179
Subtract 5778 from 5860 to get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Moving on to step 12:
820 divided by 642 is 1 with a remainder of 178.
The next digit of our result is 1. 
Result so far: 90405.1791
The remainder is 178 after subtracting 642 from 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Moving on to step 13:
642 goes into 1780 2 times with a remainder of 496.
Use 2 as the next digit of our solution. 
Result so far: 90405.17912
If we take 1284 away from 1780, we end up with 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

On to step 14:
642 can be fit into 4960 7 times, resulting in a remainder of 466.
The next digit of our result is 7. 
Result so far: 90405.179127
If we take 4494 away from 4960, we end up with 466.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4660, and continue the process.

Moving on to step 15:
642 can be fit into 4660 7 times, resulting in a remainder of 166.
The number 7 becomes the next digit in our result. 
Result so far: 90405.1791277
Subtract 4494 from 4660 to get 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

In conclusion, the division gives 90405.1791277 with a balance of 1.66e-06.