We're dividing 21868380 by 398 
Our goal is to divide 21868380 by 398.

Advancing to step 1:
398 can be fit into 2 0 times, resulting in a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 398

Step 2:
398 can be fit into 21 0 times, resulting in a remainder of 21.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 21 and we're left with 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 398

On to step 3:
218 divided by 398 is 0 with a remainder of 218.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 218 to get 218.
Bring next digit (6) of the dividend behind the 218 and repeat the process: 2186 / 398

Going ahead to step 4:
When dividing 2186 by 398, we get 5 with a remainder of 196.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 1990 from 2186 and we're left with 196.
Include the next digit (8) from the dividend after 196, then repeat: 1968 / 398

On to step 5:
1968 divided by 398 is 4 with a remainder of 376.
Put 4 as the next digit of the answer. 
Result so far: 54.0
If we take 1592 away from 1968, we end up with 376.
Take the next digit (3) from the dividend and append it to 376, then repeat: 3763 / 398

Let's proceed to step 6:
When dividing 3763 by 398, we get 9 with a remainder of 181.
Record the quotient 9 as the next digit in the result. 
Result so far: 549.0
The remainder is 181 after subtracting 3582 from 3763.
Include the next digit (8) from the dividend after 181, then repeat: 1818 / 398

Let's proceed to step 7:
The number 398 fits into 1818 4 times, leaving a remainder of 226.
Use 4 as the next digit of our solution. 
Result so far: 5494.0
Subtract 1592 from 1818 to get 226.
Include the next digit (0) from the dividend after 226, then repeat: 2260 / 398

Advancing to step 8:
If we divide 2260 by 398, we get 5 and a remainder of 270.
Record the quotient 5 as the next digit in the result. 
Result so far: 54945.0
If we take 1990 away from 2260, we end up with 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Step 9:
2700 divided by 398 is 6 with a remainder of 312.
The next digit of our result is 6. 
Result so far: 54945.6
If we take 2388 away from 2700, we end up with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Step 10:
When dividing 3120 by 398, we get 7 with a remainder of 334.
The next digit of our result is 7. 
Result so far: 54945.67
Subtract 2786 from 3120 to get 334.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3340, and continue the process.

Step 11:
If we divide 3340 by 398, we get 8 and a remainder of 156.
The next digit of our result is 8. 
Result so far: 54945.678
Deduct 3184 from 3340 and we're left with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

On to step 12:
When dividing 1560 by 398, we get 3 with a remainder of 366.
Record the quotient 3 as the next digit in the result. 
Result so far: 54945.6783
Subtract 1194 from 1560 to get 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

Let's proceed to step 13:
If we divide 3660 by 398, we get 9 and a remainder of 78.
Write down 9 as next digit of the result. 
Result so far: 54945.67839
The remainder is 78 after subtracting 3582 from 3660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Moving on to step 14:
398 can be fit into 780 1 times, resulting in a remainder of 382.
The number 1 becomes the next digit in our result. 
Result so far: 54945.678391
If we subtract 398 from 780, we get 382.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

Let's proceed to step 15:
If we divide 3820 by 398, we get 9 and a remainder of 238.
Record the quotient 9 as the next digit in the result. 
Result so far: 54945.6783919
Subtracting 3582 from 3820 leaves us with 238.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2380, and continue the process.

Moving on to step 16:
398 can be fit into 2380 5 times, resulting in a remainder of 390.
Record the quotient 5 as the next digit in the result. 
Result so far: 54945.67839195
Deduct 1990 from 2380 and we're left with 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

The quotient of the division is 54945.67839195, and the remainder is 3.9e-07.