Let's divide 40023969 by 398
Let's see how many times 398 fits into 40023969.

Going ahead to step 1:
4 divided by 398 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 398

Advancing to step 2:
When dividing 40 by 398, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (0) from the dividend and append it to 40, then repeat: 400 / 398

On to step 3:
398 goes into 400 1 times with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 2 after subtracting 398 from 400.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 398

Let's proceed to step 4:
22 divided by 398 is 0 with a remainder of 22.
Write down 0 as next digit of the result. 
Result so far: 10.0
Subtract 0 from 22 to get 22.
Append the next digit (3) from the dividend to 22 and continue with: 223 / 398

On to step 5:
If we divide 223 by 398, we get 0 and a remainder of 223.
Put 0 as the next digit of the answer. 
Result so far: 100.0
Subtracting 0 from 223 leaves us with 223.
Bring next digit (9) of the dividend behind the 223 and repeat the process: 2239 / 398

Advancing to step 6:
When dividing 2239 by 398, we get 5 with a remainder of 249.
The next digit of our result is 5. 
Result so far: 1005.0
Subtract 1990 from 2239 to get 249.
Append the next digit (6) from the dividend to 249 and continue with: 2496 / 398

Moving on to step 7:
If we divide 2496 by 398, we get 6 and a remainder of 108.
Write down 6 as next digit of the result. 
Result so far: 10056.0
If we take 2388 away from 2496, we end up with 108.
Include the next digit (9) from the dividend after 108, then repeat: 1089 / 398

Let's proceed to step 8:
398 can be fit into 1089 2 times, resulting in a remainder of 293.
Write down 2 as next digit of the result. 
Result so far: 100562.0
Subtract 796 from 1089 to get 293.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2930, and continue the process.

Advancing to step 9:
If we divide 2930 by 398, we get 7 and a remainder of 144.
Write down 7 as next digit of the result. 
Result so far: 100562.7
If we subtract 2786 from 2930, we get 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Let's proceed to step 10:
398 goes into 1440 3 times with a remainder of 246.
Record the quotient 3 as the next digit in the result. 
Result so far: 100562.73
If we take 1194 away from 1440, we end up with 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Moving on to step 11:
398 goes into 2460 6 times with a remainder of 72.
Record the quotient 6 as the next digit in the result. 
Result so far: 100562.736
Subtracting 2388 from 2460 leaves us with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Going ahead to step 12:
398 can be fit into 720 1 times, resulting in a remainder of 322.
The number 1 becomes the next digit in our result. 
Result so far: 100562.7361
Subtract 398 from 720 to get 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

On to step 13:
When dividing 3220 by 398, we get 8 with a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 100562.73618
Subtract 3184 from 3220 to get 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 14:
360 divided by 398 is 0 with a remainder of 360.
Record the quotient 0 as the next digit in the result. 
Result so far: 100562.73618
The remainder is 360 after subtracting 0 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

On to step 15:
398 can be fit into 3600 9 times, resulting in a remainder of 18.
The next digit of our result is 9. 
Result so far: 100562.7361809
Subtract 3582 from 3600 to 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.

Going ahead to step 16:
398 can be fit into 180 0 times, resulting in a remainder of 180.
The number 0 becomes the next digit in our result. 
Result so far: 100562.7361809
Subtracting 0 from 180 leaves us 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.

The final result is 100562.7361809 with a remainder of 1.8e-07.