We're dividing 499286 by 40 
Our goal is to divide 499286 by 40.

Let's proceed to step 1:
The number 40 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 40

Moving on to step 2:
The number 40 fits into 49 1 times, leaving a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 40 from 49 to get 9.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 40

Let's proceed to step 3:
40 goes into 99 2 times with a remainder of 19.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtracting 80 from 99 leaves us with 19.
Bring next digit (2) of the dividend behind the 19 and repeat the process: 192 / 40

Going ahead to step 4:
40 goes into 192 4 times with a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 124.0
The remainder is 32 after subtracting 160 from 192.
Grab the next digit (8) from the dividend, add it to 32, then carry on: 328 / 40

Moving on to step 5:
When dividing 328 by 40, we get 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 1248.0
Deduct 320 from 328 and we're left with 8.
Bring next digit (6) of the dividend behind the 8 and repeat the process: 86 / 40

Going ahead to step 6:
If we divide 86 by 40, we get 2 and a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 12482.0
Subtract 80 from 86 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
40 can be fit into 60 1 times, resulting in a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 12482.1
Subtract 40 from 60 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.

Going ahead to step 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 12482.15
If we take 200 away from 200, we end up 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.

Going ahead to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 12482.15
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.

Advancing to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 12482.15
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.

After the division, we end up with 12482.15 and a remainder of 0.0.