Let's divide 512745 by 58
Let's see how many times 58 fits into 512745.

Advancing to step 1:
58 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 58

Moving on to step 2:
If we divide 51 by 58, we get 0 and a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Grab the next digit (2) from the dividend, add it to 51, then carry on: 512 / 58

Advancing to step 3:
58 can be fit into 512 8 times, resulting in a remainder of 48.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtract 464 from 512 to get 48.
Append the next digit (7) from the dividend to 48 and continue with: 487 / 58

Moving on to step 4:
487 divided by 58 is 8 with a remainder of 23.
The number 8 becomes the next digit in our result. 
Result so far: 88.0
Subtract 464 from 487 to get 23.
Grab the next digit (4) from the dividend, add it to 23, then carry on: 234 / 58

Moving on to step 5:
58 can be fit into 234 4 times, resulting in a remainder of 2.
The next digit of our result is 4. 
Result so far: 884.0
Deduct 232 from 234 and we're left with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 58

On to step 6:
When dividing 25 by 58, we get 0 with a remainder of 25.
The number 0 becomes the next digit in our result. 
Result so far: 8840.0
Subtract 0 from 25 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 7:
If we divide 250 by 58, we get 4 and a remainder of 18.
Record the quotient 4 as the next digit in the result. 
Result so far: 8840.4
Subtracting 232 from 250 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 8:
58 goes into 180 3 times with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 8840.43
Subtract 174 from 180 to 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 9:
The number 58 fits into 60 1 times, leaving a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 8840.431
Subtract 58 from 60 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 10:
The number 58 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 8840.431
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 11:
If we divide 200 by 58, we get 3 and a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 8840.43103
Deduct 174 from 200 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 12:
If we divide 260 by 58, we get 4 and a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 8840.431034
Subtract 232 from 260 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 13:
58 can be fit into 280 4 times, resulting in a remainder of 48.
Put 4 as the next digit of the answer. 
Result so far: 8840.4310344
Subtract 232 from 280 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

After the division, we end up with 8840.4310344 and a remainder of 4.8e-07.