Let's divide 12494698 by 586
We want to figure out the number of times 12494698 can be divided by 586.

On to step 1:
1 divided by 586 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 586

Advancing to step 2:
12 divided by 586 is 0 with a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Append the next digit (4) from the dividend to 12 and continue with: 124 / 586

Moving on to step 3:
When dividing 124 by 586, we get 0 with a remainder of 124.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 124 and we're left with 124.
Fetch the next digit (9) from the dividend, attach it to 124 and continue: 1249 / 586

Step 4:
The number 586 fits into 1249 2 times, leaving a remainder of 77.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 1172 from 1249, we get 77.
Fetch the next digit (4) from the dividend, attach it to 77 and continue: 774 / 586

Going ahead to step 5:
If we divide 774 by 586, we get 1 and a remainder of 188.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
Subtracting 586 from 774 leaves us with 188.
Take the next digit (6) from the dividend and append it to 188, then repeat: 1886 / 586

On to step 6:
586 goes into 1886 3 times with a remainder of 128.
Put 3 as the next digit of the answer. 
Result so far: 213.0
Deduct 1758 from 1886 and we're left with 128.
Grab the next digit (9) from the dividend, add it to 128, then carry on: 1289 / 586

Step 7:
The number 586 fits into 1289 2 times, leaving a remainder of 117.
Record the quotient 2 as the next digit in the result. 
Result so far: 2132.0
If we subtract 1172 from 1289, we get 117.
Bring next digit (8) of the dividend behind the 117 and repeat the process: 1178 / 586

Let's proceed to step 8:
The number 586 fits into 1178 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 21322.0
The remainder is 6 after subtracting 1172 from 1178.
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 9:
The number 586 fits into 60 0 times, leaving a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 21322.0
If we take 0 away from 60, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Let's proceed to step 10:
If we divide 600 by 586, we get 1 and a remainder of 14.
The next digit of our result is 1. 
Result so far: 21322.01
If we take 586 away from 600, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 11:
When dividing 140 by 586, we get 0 with a remainder of 140.
The next digit of our result is 0. 
Result so far: 21322.01
If we take 0 away from 140, we end up with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Let's proceed to step 12:
When dividing 1400 by 586, we get 2 with a remainder of 228.
Use 2 as the next digit of our solution. 
Result so far: 21322.0102
The remainder is 228 after subtracting 1172 from 1400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Going ahead to step 13:
586 goes into 2280 3 times with a remainder of 522.
The number 3 becomes the next digit in our result. 
Result so far: 21322.01023
If we take 1758 away from 2280, we end up with 522.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Moving on to step 14:
When dividing 5220 by 586, we get 8 with a remainder of 532.
Use 8 as the next digit of our solution. 
Result so far: 21322.010238
If we subtract 4688 from 5220, we get 532.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5320, and continue the process.

On to step 15:
586 can be fit into 5320 9 times, resulting in a remainder of 46.
Put 9 as the next digit of the answer. 
Result so far: 21322.0102389
Subtracting 5274 from 5320 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 16:
The number 586 fits into 460 0 times, leaving a remainder of 460.
The next digit of our result is 0. 
Result so far: 21322.0102389
Subtracting 0 from 460 leaves us with 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

The quotient of the division is 21322.0102389, and the remainder is 4.6e-07.