We divide 336258 by 40
We're looking to find how many times 40 goes into 336258.

Moving on to step 1:
The number 40 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 40

Step 2:
The number 40 fits into 33 0 times, leaving a remainder of 33.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 33 after subtracting 0 from 33.
Bring next digit (6) of the dividend behind the 33 and repeat the process: 336 / 40

Going ahead to step 3:
If we divide 336 by 40, we get 8 and a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtracting 320 from 336 leaves us with 16.
Include the next digit (2) from the dividend after 16, then repeat: 162 / 40

Moving on to step 4:
If we divide 162 by 40, we get 4 and a remainder of 2.
The next digit of our result is 4. 
Result so far: 84.0
If we take 160 away from 162, we end up with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 40

Let's proceed to step 5:
The number 40 fits into 25 0 times, leaving a remainder of 25.
The next digit of our result is 0. 
Result so far: 840.0
Deduct 0 from 25 and we're left with 25.
Grab the next digit (8) from the dividend, add it to 25, then carry on: 258 / 40

Going ahead to step 6:
40 can be fit into 258 6 times, resulting in a remainder of 18.
Record the quotient 6 as the next digit in the result. 
Result so far: 8406.0
Deduct 240 from 258 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 7:
180 divided by 40 is 4 with a remainder of 20.
The next digit of our result is 4. 
Result so far: 8406.4
The remainder is 20 after subtracting 160 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 8406.45
If we subtract 200 from 200, we 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.

Advancing to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 8406.45
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
0 divided by 40 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 8406.45
Subtracting 0 from 0 leaves us with 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 8406.45 with a balance of 0.0.