499418 divided by 40 
We want to divide 499418 by 40.

Moving on to step 1:
The number 40 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 40

Let's proceed to step 2:
49 divided by 40 is 1 with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 40 from 49 to get 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 40

Let's proceed to step 3:
99 divided by 40 is 2 with a remainder of 19.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Subtract 80 from 99 to get 19.
Take the next digit (4) from the dividend and append it to 19, then repeat: 194 / 40

Advancing to step 4:
If we divide 194 by 40, we get 4 and a remainder of 34.
Use 4 as the next digit of our solution. 
Result so far: 124.0
If we take 160 away from 194, we end up with 34.
Bring next digit (1) of the dividend behind the 34 and repeat the process: 341 / 40

Going ahead to step 5:
341 divided by 40 is 8 with a remainder of 21.
The number 8 becomes the next digit in our result. 
Result so far: 1248.0
If we subtract 320 from 341, we get 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 40

Step 6:
If we divide 218 by 40, we get 5 and a remainder of 18.
The number 5 becomes the next digit in our result. 
Result so far: 12485.0
If we subtract 200 from 218, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 7:
The number 40 fits into 180 4 times, leaving a remainder of 20.
The next digit of our result is 4. 
Result so far: 12485.4
If we subtract 160 from 180, we 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.

Advancing to step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 12485.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:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 12485.45
Subtract 0 from 0 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.

On to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 12485.45
If we subtract 0 from 0, 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.

Our division results in 12485.45 with a remaining 0.0.