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

Step 1:
When dividing 4 by 18, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 18

Advancing to step 2:
18 goes into 47 2 times with a remainder of 11.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 36 from 47 to get 11.
Take the next digit (5) from the dividend and append it to 11, then repeat: 115 / 18

Advancing to step 3:
If we divide 115 by 18, we get 6 and a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 26.0
If we subtract 108 from 115, we get 7.
Take the next digit (7) from the dividend and append it to 7, then repeat: 77 / 18

Step 4:
77 divided by 18 is 4 with a remainder of 5.
The next digit of our result is 4. 
Result so far: 264.0
Subtracting 72 from 77 leaves us with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 18

Step 5:
The number 18 fits into 58 3 times, leaving a remainder of 4.
The next digit of our result is 3. 
Result so far: 2643.0
Subtracting 54 from 58 leaves us with 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 18

On to step 6:
If we divide 41 by 18, we get 2 and a remainder of 5.
The next digit of our result is 2. 
Result so far: 26432.0
If we take 36 away from 41, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
The number 18 fits into 50 2 times, leaving a remainder of 14.
Record the quotient 2 as the next digit in the result. 
Result so far: 26432.2
If we subtract 36 from 50, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 8:
18 goes into 140 7 times with a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 26432.27
Subtracting 126 from 140 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
The number 18 fits into 140 7 times, leaving a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 26432.277
If we subtract 126 from 140, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final outcome is 26432.277, with a leftover of 0.0014.