We look at the division of 58831598 by 504 
We want to figure out the number of times 58831598 can be divided by 504.

Step 1:
If we divide 5 by 504, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 504

Going ahead to step 2:
58 divided by 504 is 0 with a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Take the next digit (8) from the dividend and append it to 58, then repeat: 588 / 504

Let's proceed to step 3:
The number 504 fits into 588 1 times, leaving a remainder of 84.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 84 after subtracting 504 from 588.
Append the next digit (3) from the dividend to 84 and continue with: 843 / 504

Advancing to step 4:
504 goes into 843 1 times with a remainder of 339.
Use 1 as the next digit of our solution. 
Result so far: 11.0
Subtracting 504 from 843 leaves us with 339.
Grab the next digit (1) from the dividend, add it to 339, then carry on: 3391 / 504

On to step 5:
The number 504 fits into 3391 6 times, leaving a remainder of 367.
Put 6 as the next digit of the answer. 
Result so far: 116.0
Deduct 3024 from 3391 and we're left with 367.
Bring next digit (5) of the dividend behind the 367 and repeat the process: 3675 / 504

Let's proceed to step 6:
The number 504 fits into 3675 7 times, leaving a remainder of 147.
The number 7 becomes the next digit in our result. 
Result so far: 1167.0
Subtracting 3528 from 3675 leaves us with 147.
Fetch the next digit (9) from the dividend, attach it to 147 and continue: 1479 / 504

On to step 7:
1479 divided by 504 is 2 with a remainder of 471.
The number 2 becomes the next digit in our result. 
Result so far: 11672.0
If we subtract 1008 from 1479, we get 471.
Fetch the next digit (8) from the dividend, attach it to 471 and continue: 4718 / 504

Advancing to step 8:
504 goes into 4718 9 times with a remainder of 182.
Put 9 as the next digit of the answer. 
Result so far: 116729.0
If we take 4536 away from 4718, we end up with 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Advancing to step 9:
504 goes into 1820 3 times with a remainder of 308.
Put 3 as the next digit of the answer. 
Result so far: 116729.3
If we subtract 1512 from 1820, we get 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

On to step 10:
If we divide 3080 by 504, we get 6 and a remainder of 56.
Use 6 as the next digit of our solution. 
Result so far: 116729.36
If we take 3024 away from 3080, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 11:
504 goes into 560 1 times with a remainder of 56.
Write down 1 as next digit of the result. 
Result so far: 116729.361
Deduct 504 from 560 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 12:
If we divide 560 by 504, we get 1 and a remainder of 56.
The next digit of our result is 1. 
Result so far: 116729.3611
If we subtract 504 from 560, we get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

After the division, we end up with 116729.3611 and a remainder of 0.00056.