We divide 12797579 by 494
We want to divide 12797579 by 494.

Advancing to step 1:
494 goes into 1 0 times with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 494

Let's proceed to step 2:
The number 494 fits into 12 0 times, leaving a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Grab the next digit (7) from the dividend, add it to 12, then carry on: 127 / 494

Advancing to step 3:
When dividing 127 by 494, we get 0 with a remainder of 127.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 127, we end up with 127.
Grab the next digit (9) from the dividend, add it to 127, then carry on: 1279 / 494

Advancing to step 4:
If we divide 1279 by 494, we get 2 and a remainder of 291.
The next digit of our result is 2. 
Result so far: 2.0
If we take 988 away from 1279, we end up with 291.
Fetch the next digit (7) from the dividend, attach it to 291 and continue: 2917 / 494

Let's proceed to step 5:
2917 divided by 494 is 5 with a remainder of 447.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
If we take 2470 away from 2917, we end up with 447.
Append the next digit (5) from the dividend to 447 and continue with: 4475 / 494

Step 6:
4475 divided by 494 is 9 with a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 259.0
The remainder is 29 after subtracting 4446 from 4475.
Fetch the next digit (7) from the dividend, attach it to 29 and continue: 297 / 494

Moving on to step 7:
If we divide 297 by 494, we get 0 and a remainder of 297.
Put 0 as the next digit of the answer. 
Result so far: 2590.0
If we subtract 0 from 297, we get 297.
Include the next digit (9) from the dividend after 297, then repeat: 2979 / 494

On to step 8:
494 goes into 2979 6 times with a remainder of 15.
Put 6 as the next digit of the answer. 
Result so far: 25906.0
If we take 2964 away from 2979, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 9:
When dividing 150 by 494, we get 0 with a remainder of 150.
Write down 0 as next digit of the result. 
Result so far: 25906.0
If we take 0 away from 150, we end up with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Moving on to step 10:
494 goes into 1500 3 times with a remainder of 18.
The next digit of our result is 3. 
Result so far: 25906.03
If we subtract 1482 from 1500, 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.

Step 11:
The number 494 fits into 180 0 times, leaving a remainder of 180.
Write down 0 as next digit of the result. 
Result so far: 25906.03
If we take 0 away from 180, we end up with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Step 12:
494 can be fit into 1800 3 times, resulting in a remainder of 318.
Write down 3 as next digit of the result. 
Result so far: 25906.0303
Deduct 1482 from 1800 and we're left with 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

Step 13:
When dividing 3180 by 494, we get 6 with a remainder of 216.
Use 6 as the next digit of our solution. 
Result so far: 25906.03036
Deduct 2964 from 3180 and we're left with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Going ahead to step 14:
When dividing 2160 by 494, we get 4 with a remainder of 184.
Record the quotient 4 as the next digit in the result. 
Result so far: 25906.030364
The remainder is 184 after subtracting 1976 from 2160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Let's proceed to step 15:
1840 divided by 494 is 3 with a remainder of 358.
Use 3 as the next digit of our solution. 
Result so far: 25906.0303643
If we subtract 1482 from 1840, we get 358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

Let's proceed to step 16:
The number 494 fits into 3580 7 times, leaving a remainder of 122.
Put 7 as the next digit of the answer. 
Result so far: 25906.03036437
Deduct 3458 from 3580 and we're left with 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

After the division, we end up with 25906.03036437 and a remainder of 1.22e-07.