10015040 ÷ 497 
We're looking to find how many times 497 goes into 10015040.

Let's proceed to step 1:
1 divided by 497 is 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 497

Let's proceed to step 2:
When dividing 10 by 497, we get 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 10 leaves us with 10.
Fetch the next digit (0) from the dividend, attach it to 10 and continue: 100 / 497

Moving on to step 3:
The number 497 fits into 100 0 times, leaving a remainder of 100.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 100 after subtracting 0 from 100.
Take the next digit (1) from the dividend and append it to 100, then repeat: 1001 / 497

On to step 4:
1001 divided by 497 is 2 with a remainder of 7.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 7 after subtracting 994 from 1001.
Take the next digit (5) from the dividend and append it to 7, then repeat: 75 / 497

Going ahead to step 5:
When dividing 75 by 497, we get 0 with a remainder of 75.
Put 0 as the next digit of the answer. 
Result so far: 20.0
Deduct 0 from 75 and we're left with 75.
Bring next digit (0) of the dividend behind the 75 and repeat the process: 750 / 497

Step 6:
750 divided by 497 is 1 with a remainder of 253.
Put 1 as the next digit of the answer. 
Result so far: 201.0
If we take 497 away from 750, we end up with 253.
Fetch the next digit (4) from the dividend, attach it to 253 and continue: 2534 / 497

Going ahead to step 7:
The number 497 fits into 2534 5 times, leaving a remainder of 49.
Record the quotient 5 as the next digit in the result. 
Result so far: 2015.0
Deduct 2485 from 2534 and we're left with 49.
Append the next digit (0) from the dividend to 49 and continue with: 490 / 497

Going ahead to step 8:
497 goes into 490 0 times with a remainder of 490.
Write down 0 as next digit of the result. 
Result so far: 20150.0
Deduct 0 from 490 and we're left with 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

Advancing to step 9:
When dividing 4900 by 497, we get 9 with a remainder of 427.
The next digit of our result is 9. 
Result so far: 20150.9
The remainder is 427 after subtracting 4473 from 4900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4270, and continue the process.

Step 10:
If we divide 4270 by 497, we get 8 and a remainder of 294.
Put 8 as the next digit of the answer. 
Result so far: 20150.98
Subtract 3976 from 4270 to get 294.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2940, and continue the process.

Moving on to step 11:
If we divide 2940 by 497, we get 5 and a remainder of 455.
Put 5 as the next digit of the answer. 
Result so far: 20150.985
Subtracting 2485 from 2940 leaves us with 455.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4550, and continue the process.

Going ahead to step 12:
497 can be fit into 4550 9 times, resulting in a remainder of 77.
The next digit of our result is 9. 
Result so far: 20150.9859
Subtracting 4473 from 4550 leaves us with 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Going ahead to step 13:
497 can be fit into 770 1 times, resulting in a remainder of 273.
Record the quotient 1 as the next digit in the result. 
Result so far: 20150.98591
Deduct 497 from 770 and we're left with 273.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2730, and continue the process.

Step 14:
If we divide 2730 by 497, we get 5 and a remainder of 245.
The number 5 becomes the next digit in our result. 
Result so far: 20150.985915
Subtracting 2485 from 2730 leaves us with 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Let's proceed to step 15:
497 can be fit into 2450 4 times, resulting in a remainder of 462.
Put 4 as the next digit of the answer. 
Result so far: 20150.9859154
Deduct 1988 from 2450 and we're left with 462.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4620, and continue the process.

Let's proceed to step 16:
When dividing 4620 by 497, we get 9 with a remainder of 147.
The next digit of our result is 9. 
Result so far: 20150.98591549
If we take 4473 away from 4620, we end up with 147.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1470, and continue the process.

The final result is 20150.98591549 with a remainder of 1.47e-07.