Let's divide 978021 by 38
Our goal is to divide 978021 by 38.

On to step 1:
The number 38 fits into 9 0 times, leaving a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 38

Moving on to step 2:
97 divided by 38 is 2 with a remainder of 21.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 76 from 97 leaves us with 21.
Take the next digit (8) from the dividend and append it to 21, then repeat: 218 / 38

Advancing to step 3:
38 can be fit into 218 5 times, resulting in a remainder of 28.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
The remainder is 28 after subtracting 190 from 218.
Fetch the next digit (0) from the dividend, attach it to 28 and continue: 280 / 38

Moving on to step 4:
38 can be fit into 280 7 times, resulting in a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 257.0
If we subtract 266 from 280, we get 14.
Include the next digit (2) from the dividend after 14, then repeat: 142 / 38

On to step 5:
When dividing 142 by 38, we get 3 with a remainder of 28.
Record the quotient 3 as the next digit in the result. 
Result so far: 2573.0
Deduct 114 from 142 and we're left with 28.
Append the next digit (1) from the dividend to 28 and continue with: 281 / 38

Advancing to step 6:
38 goes into 281 7 times with a remainder of 15.
Use 7 as the next digit of our solution. 
Result so far: 25737.0
If we take 266 away from 281, 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.

Step 7:
When dividing 150 by 38, we get 3 with a remainder of 36.
Put 3 as the next digit of the answer. 
Result so far: 25737.3
Deduct 114 from 150 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 8:
If we divide 360 by 38, we get 9 and a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 25737.39
If we take 342 away from 360, we end up with 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 9:
180 divided by 38 is 4 with a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 25737.394
Deduct 152 from 180 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 10:
280 divided by 38 is 7 with a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 25737.3947
Subtract 266 from 280 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 11:
38 can be fit into 140 3 times, resulting in a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 25737.39473
The remainder is 26 after subtracting 114 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 12:
If we divide 260 by 38, we get 6 and a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 25737.394736
The remainder is 32 after subtracting 228 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 13:
38 can be fit into 320 8 times, resulting in a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 25737.3947368
Subtracting 304 from 320 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 14:
38 can be fit into 160 4 times, resulting in a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 25737.39473684
If we subtract 152 from 160, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final outcome is 25737.39473684, with a leftover of 8e-09.