We're dividing 336414 by 40 
Let's see how many times 40 fits into 336414.

Let's proceed to step 1:
The number 40 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 40

Let's proceed to step 2:
When dividing 33 by 40, we get 0 with a remainder of 33.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 33, we end up with 33.
Fetch the next digit (6) from the dividend, attach it to 33 and continue: 336 / 40

Step 3:
The number 40 fits into 336 8 times, leaving a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtracting 320 from 336 leaves us with 16.
Take the next digit (4) from the dividend and append it to 16, then repeat: 164 / 40

Step 4:
164 divided by 40 is 4 with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 84.0
The remainder is 4 after subtracting 160 from 164.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 40

On to step 5:
40 goes into 41 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 841.0
If we subtract 40 from 41, we get 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 40

On to step 6:
40 goes into 14 0 times with a remainder of 14.
Use 0 as the next digit of our solution. 
Result so far: 8410.0
If we take 0 away from 14, we end up 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.

Advancing to step 7:
The number 40 fits into 140 3 times, leaving a remainder of 20.
The next digit of our result is 3. 
Result so far: 8410.3
Subtracting 120 from 140 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 8410.35
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.

Going ahead to step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 8410.35
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.

Step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 8410.35
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.

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