584788 divided by 18 
Let's see how many times 18 fits into 584788.

Let's proceed to step 1:
18 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 18

Going ahead to step 2:
When dividing 58 by 18, we get 3 with a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 54 from 58, we get 4.
Append the next digit (4) from the dividend to 4 and continue with: 44 / 18

Moving on to step 3:
18 goes into 44 2 times with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 32.0
The remainder is 8 after subtracting 36 from 44.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 18

Let's proceed to step 4:
87 divided by 18 is 4 with a remainder of 15.
Record the quotient 4 as the next digit in the result. 
Result so far: 324.0
If we take 72 away from 87, we end up with 15.
Take the next digit (8) from the dividend and append it to 15, then repeat: 158 / 18

Step 5:
18 can be fit into 158 8 times, resulting in a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 3248.0
Subtract 144 from 158 to get 14.
Take the next digit (8) from the dividend and append it to 14, then repeat: 148 / 18

Let's proceed to step 6:
When dividing 148 by 18, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 32488.0
If we take 144 away from 148, we end up 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.

On to step 7:
18 goes into 40 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 32488.2
Subtract 36 from 40 to 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.

On to step 8:
When dividing 40 by 18, we get 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 32488.22
Deduct 36 from 40 and we're left 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.

Our division results in 32488.22 with a remaining 0.004.