18580 ÷ 18 
We want to divide 18580 by 18.

On to step 1:
18 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 18

Step 2:
The number 18 fits into 18 1 times, leaving a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 18 from 18 leaves us with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 18

Let's proceed to step 3:
18 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we subtract 0 from 5, we get 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 18

Step 4:
When dividing 58 by 18, we get 3 with a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 103.0
Subtracting 54 from 58 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 18

On to step 5:
When dividing 40 by 18, we get 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 1032.0
If we subtract 36 from 40, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 6:
40 divided by 18 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 1032.2
Subtracting 36 from 40 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
18 goes into 40 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 1032.22
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 1032.22, with a leftover of 0.004.