We look at the division of 58743999 by 504 
Let's see how many times 504 fits into 58743999.

On to step 1:
When dividing 5 by 504, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 504

On to step 2:
504 can be fit into 58 0 times, resulting in a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Grab the next digit (7) from the dividend, add it to 58, then carry on: 587 / 504

On to step 3:
587 divided by 504 is 1 with a remainder of 83.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 504 from 587 and we're left with 83.
Fetch the next digit (4) from the dividend, attach it to 83 and continue: 834 / 504

Moving on to step 4:
The number 504 fits into 834 1 times, leaving a remainder of 330.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
The remainder is 330 after subtracting 504 from 834.
Take the next digit (3) from the dividend and append it to 330, then repeat: 3303 / 504

Moving on to step 5:
When dividing 3303 by 504, we get 6 with a remainder of 279.
Record the quotient 6 as the next digit in the result. 
Result so far: 116.0
If we take 3024 away from 3303, we end up with 279.
Include the next digit (9) from the dividend after 279, then repeat: 2799 / 504

Moving on to step 6:
The number 504 fits into 2799 5 times, leaving a remainder of 279.
Write down 5 as next digit of the result. 
Result so far: 1165.0
If we subtract 2520 from 2799, we get 279.
Fetch the next digit (9) from the dividend, attach it to 279 and continue: 2799 / 504

On to step 7:
The number 504 fits into 2799 5 times, leaving a remainder of 279.
Record the quotient 5 as the next digit in the result. 
Result so far: 11655.0
Deduct 2520 from 2799 and we're left with 279.
Append the next digit (9) from the dividend to 279 and continue with: 2799 / 504

Advancing to step 8:
If we divide 2799 by 504, we get 5 and a remainder of 279.
The next digit of our result is 5. 
Result so far: 116555.0
Subtract 2520 from 2799 to get 279.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2790, and continue the process.

Step 9:
504 can be fit into 2790 5 times, resulting in a remainder of 270.
Record the quotient 5 as the next digit in the result. 
Result so far: 116555.5
If we subtract 2520 from 2790, we get 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Step 10:
504 can be fit into 2700 5 times, resulting in a remainder of 180.
Record the quotient 5 as the next digit in the result. 
Result so far: 116555.55
If we subtract 2520 from 2700, we get 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

The final result is 116555.55 with a remainder of 0.18.