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

Let's proceed to step 1:
When dividing 1 by 397, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 397

Step 2:
397 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 10 to get 10.
Include the next digit (2) from the dividend after 10, then repeat: 102 / 397

Moving on to step 3:
When dividing 102 by 397, we get 0 with a remainder of 102.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 102, we end up with 102.
Include the next digit (2) from the dividend after 102, then repeat: 1022 / 397

Advancing to step 4:
397 can be fit into 1022 2 times, resulting in a remainder of 228.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 228 after subtracting 794 from 1022.
Bring next digit (1) of the dividend behind the 228 and repeat the process: 2281 / 397

Moving on to step 5:
The number 397 fits into 2281 5 times, leaving a remainder of 296.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
Subtract 1985 from 2281 to get 296.
Take the next digit (4) from the dividend and append it to 296, then repeat: 2964 / 397

Moving on to step 6:
397 can be fit into 2964 7 times, resulting in a remainder of 185.
Record the quotient 7 as the next digit in the result. 
Result so far: 257.0
Subtracting 2779 from 2964 leaves us with 185.
Bring next digit (9) of the dividend behind the 185 and repeat the process: 1859 / 397

Going ahead to step 7:
397 can be fit into 1859 4 times, resulting in a remainder of 271.
The next digit of our result is 4. 
Result so far: 2574.0
Subtract 1588 from 1859 to get 271.
Grab the next digit (8) from the dividend, add it to 271, then carry on: 2718 / 397

Going ahead to step 8:
If we divide 2718 by 397, we get 6 and a remainder of 336.
The next digit of our result is 6. 
Result so far: 25746.0
Deduct 2382 from 2718 and we're left with 336.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

On to step 9:
If we divide 3360 by 397, we get 8 and a remainder of 184.
The next digit of our result is 8. 
Result so far: 25746.8
The remainder is 184 after subtracting 3176 from 3360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Going ahead to step 10:
If we divide 1840 by 397, we get 4 and a remainder of 252.
The next digit of our result is 4. 
Result so far: 25746.84
If we subtract 1588 from 1840, we get 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

On to step 11:
The number 397 fits into 2520 6 times, leaving a remainder of 138.
Put 6 as the next digit of the answer. 
Result so far: 25746.846
Subtracting 2382 from 2520 leaves us with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Moving on to step 12:
When dividing 1380 by 397, we get 3 with a remainder of 189.
Put 3 as the next digit of the answer. 
Result so far: 25746.8463
Subtracting 1191 from 1380 leaves us with 189.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1890, and continue the process.

On to step 13:
397 can be fit into 1890 4 times, resulting in a remainder of 302.
The number 4 becomes the next digit in our result. 
Result so far: 25746.84634
Deduct 1588 from 1890 and we're left with 302.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

Advancing to step 14:
3020 divided by 397 is 7 with a remainder of 241.
Use 7 as the next digit of our solution. 
Result so far: 25746.846347
Subtract 2779 from 3020 to get 241.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2410, and continue the process.

Let's proceed to step 15:
The number 397 fits into 2410 6 times, leaving a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 25746.8463476
If we subtract 2382 from 2410, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 16:
397 can be fit into 280 0 times, resulting in a remainder of 280.
Record the quotient 0 as the next digit in the result. 
Result so far: 25746.8463476
Subtracting 0 from 280 leaves us with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

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