Let's divide 365989 by 58
We want to figure out the number of times 365989 can be divided by 58.

Going ahead to step 1:
58 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 58

On to step 2:
The number 58 fits into 36 0 times, leaving a remainder of 36.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 36, we get 36.
Fetch the next digit (5) from the dividend, attach it to 36 and continue: 365 / 58

Let's proceed to step 3:
58 can be fit into 365 6 times, resulting in a remainder of 17.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Subtracting 348 from 365 leaves us with 17.
Fetch the next digit (9) from the dividend, attach it to 17 and continue: 179 / 58

On to step 4:
The number 58 fits into 179 3 times, leaving a remainder of 5.
The number 3 becomes the next digit in our result. 
Result so far: 63.0
The remainder is 5 after subtracting 174 from 179.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 58

Step 5:
58 goes into 58 1 times with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 631.0
The remainder is 0 after subtracting 58 from 58.
Take the next digit (9) from the dividend and append it to 0, then repeat: 9 / 58

Going ahead to step 6:
If we divide 9 by 58, we get 0 and a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 6310.0
If we take 0 away from 9, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 7:
58 goes into 90 1 times with a remainder of 32.
Put 1 as the next digit of the answer. 
Result so far: 6310.1
The remainder is 32 after subtracting 58 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 8:
If we divide 320 by 58, we get 5 and a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 6310.15
Deduct 290 from 320 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 9:
58 can be fit into 300 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 6310.155
If we subtract 290 from 300, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

In conclusion, the division gives 6310.155 with a balance of 0.001.