364982 divided by 40 
Let's see how many times 40 fits into 364982.

Moving on to step 1:
When dividing 3 by 40, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 40

Going ahead to step 2:
40 goes into 36 0 times with a remainder of 36.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 36 after subtracting 0 from 36.
Take the next digit (4) from the dividend and append it to 36, then repeat: 364 / 40

Let's proceed to step 3:
The number 40 fits into 364 9 times, leaving a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we take 360 away from 364, we end up with 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 40

Moving on to step 4:
The number 40 fits into 49 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 91.0
If we take 40 away from 49, we end up with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 40

Moving on to step 5:
98 divided by 40 is 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 912.0
Subtract 80 from 98 to get 18.
Take the next digit (2) from the dividend and append it to 18, then repeat: 182 / 40

Step 6:
If we divide 182 by 40, we get 4 and a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 9124.0
Subtracting 160 from 182 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 7:
40 goes into 220 5 times with a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 9124.5
Subtract 200 from 220 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 9124.55
Subtract 200 from 200 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 9124.55 with a balance of 0.0.