We look at the division of 402581 by 9 
Let's see how many times 9 fits into 402581.

Step 1:
If we divide 4 by 9, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 9

Step 2:
The number 9 fits into 40 4 times, leaving a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 4 after subtracting 36 from 40.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 9

Moving on to step 3:
If we divide 42 by 9, we get 4 and a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 44.0
The remainder is 6 after subtracting 36 from 42.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 9

Step 4:
When dividing 65 by 9, we get 7 with a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 447.0
Deduct 63 from 65 and we're left with 2.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 9

Moving on to step 5:
9 goes into 28 3 times with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 4473.0
Subtract 27 from 28 to get 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 9

Moving on to step 6:
The number 9 fits into 11 1 times, leaving a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 44731.0
The remainder is 2 after subtracting 9 from 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
The number 9 fits into 20 2 times, leaving a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 44731.2
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
9 can be fit into 20 2 times, resulting in a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 44731.22
If we take 18 away from 20, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 44731.22 and a remainder of 0.002.