Let's divide 40322 by 3
Let's see how many times 3 fits into 40322.

Going ahead to step 1:
If we divide 4 by 3, we get 1 and a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 3 from 4, we get 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 3

Advancing to step 2:
When dividing 10 by 3, we get 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 13.0
The remainder is 1 after subtracting 9 from 10.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 3

Let's proceed to step 3:
13 divided by 3 is 4 with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 134.0
If we take 12 away from 13, we end up with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 3

Moving on to step 4:
3 can be fit into 12 4 times, resulting in a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 1344.0
If we take 12 away from 12, we end up with 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 3

Going ahead to step 5:
The number 3 fits into 2 0 times, leaving a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 13440.0
If we subtract 0 from 2, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 6:
20 divided by 3 is 6 with a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 13440.6
If we subtract 18 from 20, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
The number 3 fits into 20 6 times, leaving a remainder of 2.
The next digit of our result is 6. 
Result so far: 13440.66
Subtract 18 from 20 to get 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 13440.66 and a remainder of 0.002.