Let's divide 39998943 by 373
We want to divide 39998943 by 373.

Let's proceed to step 1:
3 divided by 373 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 373

Going ahead to step 2:
If we divide 39 by 373, we get 0 and a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 373

Let's proceed to step 3:
When dividing 399 by 373, we get 1 with a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 373 from 399 leaves us with 26.
Bring next digit (9) of the dividend behind the 26 and repeat the process: 269 / 373

On to step 4:
373 goes into 269 0 times with a remainder of 269.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Deduct 0 from 269 and we're left with 269.
Bring next digit (8) of the dividend behind the 269 and repeat the process: 2698 / 373

Advancing to step 5:
The number 373 fits into 2698 7 times, leaving a remainder of 87.
Record the quotient 7 as the next digit in the result. 
Result so far: 107.0
If we subtract 2611 from 2698, we get 87.
Take the next digit (9) from the dividend and append it to 87, then repeat: 879 / 373

Let's proceed to step 6:
373 can be fit into 879 2 times, resulting in a remainder of 133.
Put 2 as the next digit of the answer. 
Result so far: 1072.0
Subtract 746 from 879 to get 133.
Grab the next digit (4) from the dividend, add it to 133, then carry on: 1334 / 373

Going ahead to step 7:
If we divide 1334 by 373, we get 3 and a remainder of 215.
The next digit of our result is 3. 
Result so far: 10723.0
Subtract 1119 from 1334 to get 215.
Include the next digit (3) from the dividend after 215, then repeat: 2153 / 373

Step 8:
373 can be fit into 2153 5 times, resulting in a remainder of 288.
Put 5 as the next digit of the answer. 
Result so far: 107235.0
Subtract 1865 from 2153 to get 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Advancing to step 9:
If we divide 2880 by 373, we get 7 and a remainder of 269.
Write down 7 as next digit of the result. 
Result so far: 107235.7
Subtract 2611 from 2880 to get 269.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2690, and continue the process.

Advancing to step 10:
373 goes into 2690 7 times with a remainder of 79.
Put 7 as the next digit of the answer. 
Result so far: 107235.77
Subtracting 2611 from 2690 leaves us with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

After the division, we end up with 107235.77 and a remainder of 0.079.