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

Moving on to step 1:
When dividing 4 by 18, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 18

Advancing to step 2:
The number 18 fits into 48 2 times, leaving a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 36 away from 48, we end up with 12.
Append the next digit (6) from the dividend to 12 and continue with: 126 / 18

Advancing to step 3:
18 goes into 126 7 times with a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 27.0
Subtract 126 from 126 to get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 18

Moving on to step 4:
18 goes into 7 0 times with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 270.0
If we subtract 0 from 7, we get 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 18

Moving on to step 5:
If we divide 77 by 18, we get 4 and a remainder of 5.
The next digit of our result is 4. 
Result so far: 2704.0
If we subtract 72 from 77, we get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 18

Going ahead to step 6:
The number 18 fits into 58 3 times, leaving a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 27043.0
Deduct 54 from 58 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.

On to step 7:
If we divide 40 by 18, we get 2 and a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 27043.2
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.

Advancing to step 8:
18 can be fit into 40 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 27043.22
If we take 36 away from 40, 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.

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