We're dividing 12340987 by 497 
Our goal is to divide 12340987 by 497.

Going ahead 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.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 497

Let's proceed to step 2:
12 divided by 497 is 0 with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 12 to get 12.
Append the next digit (3) from the dividend to 12 and continue with: 123 / 497

On to step 3:
When dividing 123 by 497, we get 0 with a remainder of 123.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 123 to get 123.
Bring next digit (4) of the dividend behind the 123 and repeat the process: 1234 / 497

Going ahead to step 4:
497 can be fit into 1234 2 times, resulting in a remainder of 240.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 994 from 1234 leaves us with 240.
Fetch the next digit (0) from the dividend, attach it to 240 and continue: 2400 / 497

Going ahead to step 5:
The number 497 fits into 2400 4 times, leaving a remainder of 412.
Put 4 as the next digit of the answer. 
Result so far: 24.0
The remainder is 412 after subtracting 1988 from 2400.
Fetch the next digit (9) from the dividend, attach it to 412 and continue: 4129 / 497

Advancing to step 6:
497 can be fit into 4129 8 times, resulting in a remainder of 153.
The number 8 becomes the next digit in our result. 
Result so far: 248.0
If we subtract 3976 from 4129, we get 153.
Bring next digit (8) of the dividend behind the 153 and repeat the process: 1538 / 497

Going ahead to step 7:
497 can be fit into 1538 3 times, resulting in a remainder of 47.
The number 3 becomes the next digit in our result. 
Result so far: 2483.0
If we take 1491 away from 1538, we end up with 47.
Grab the next digit (7) from the dividend, add it to 47, then carry on: 477 / 497

Let's proceed to step 8:
The number 497 fits into 477 0 times, leaving a remainder of 477.
The next digit of our result is 0. 
Result so far: 24830.0
Deduct 0 from 477 and we're left with 477.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4770, and continue the process.

Going ahead to step 9:
When dividing 4770 by 497, we get 9 with a remainder of 297.
The next digit of our result is 9. 
Result so far: 24830.9
If we subtract 4473 from 4770, we get 297.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2970, and continue the process.

Going ahead to step 10:
When dividing 2970 by 497, we get 5 with a remainder of 485.
The next digit of our result is 5. 
Result so far: 24830.95
The remainder is 485 after subtracting 2485 from 2970.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4850, and continue the process.

On to step 11:
4850 divided by 497 is 9 with a remainder of 377.
The next digit of our result is 9. 
Result so far: 24830.959
The remainder is 377 after subtracting 4473 from 4850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3770, and continue the process.

Advancing to step 12:
If we divide 3770 by 497, we get 7 and a remainder of 291.
The next digit of our result is 7. 
Result so far: 24830.9597
Deduct 3479 from 3770 and we're left with 291.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2910, and continue the process.

On to step 13:
2910 divided by 497 is 5 with a remainder of 425.
Write down 5 as next digit of the result. 
Result so far: 24830.95975
Subtract 2485 from 2910 to get 425.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4250, and continue the process.

Moving on to step 14:
When dividing 4250 by 497, we get 8 with a remainder of 274.
Record the quotient 8 as the next digit in the result. 
Result so far: 24830.959758
Deduct 3976 from 4250 and we're left with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Let's proceed to step 15:
497 can be fit into 2740 5 times, resulting in a remainder of 255.
Use 5 as the next digit of our solution. 
Result so far: 24830.9597585
If we take 2485 away from 2740, we end up with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Going ahead to step 16:
497 goes into 2550 5 times with a remainder of 65.
Record the quotient 5 as the next digit in the result. 
Result so far: 24830.95975855
The remainder is 65 after subtracting 2485 from 2550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

In conclusion, the division gives 24830.95975855 with a balance of 6.5e-08.