We divide 398802 by 331
Our goal is to divide 398802 by 331.

Moving on to step 1:
3 divided by 331 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 331

Step 2:
The number 331 fits into 39 0 times, leaving a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Bring next digit (8) of the dividend behind the 39 and repeat the process: 398 / 331

Step 3:
The number 331 fits into 398 1 times, leaving a remainder of 67.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 331 from 398 and we're left with 67.
Bring next digit (8) of the dividend behind the 67 and repeat the process: 678 / 331

Going ahead to step 4:
331 goes into 678 2 times with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we take 662 away from 678, we end up with 16.
Grab the next digit (0) from the dividend, add it to 16, then carry on: 160 / 331

Step 5:
The number 331 fits into 160 0 times, leaving a remainder of 160.
Write down 0 as next digit of the result. 
Result so far: 120.0
If we subtract 0 from 160, we get 160.
Include the next digit (2) from the dividend after 160, then repeat: 1602 / 331

Moving on to step 6:
331 can be fit into 1602 4 times, resulting in a remainder of 278.
Write down 4 as next digit of the result. 
Result so far: 1204.0
If we take 1324 away from 1602, we end up with 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

Let's proceed to step 7:
If we divide 2780 by 331, we get 8 and a remainder of 132.
The number 8 becomes the next digit in our result. 
Result so far: 1204.8
Subtracting 2648 from 2780 leaves us with 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Step 8:
331 goes into 1320 3 times with a remainder of 327.
Write down 3 as next digit of the result. 
Result so far: 1204.83
Subtracting 993 from 1320 leaves us with 327.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3270, and continue the process.

Moving on to step 9:
331 goes into 3270 9 times with a remainder of 291.
The next digit of our result is 9. 
Result so far: 1204.839
Subtracting 2979 from 3270 leaves us with 291.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2910, and continue the process.

Let's proceed to step 10:
The number 331 fits into 2910 8 times, leaving a remainder of 262.
The number 8 becomes the next digit in our result. 
Result so far: 1204.8398
If we take 2648 away from 2910, we end up with 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

Let's proceed to step 11:
2620 divided by 331 is 7 with a remainder of 303.
Record the quotient 7 as the next digit in the result. 
Result so far: 1204.83987
Subtracting 2317 from 2620 leaves us with 303.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3030, and continue the process.

Going ahead to step 12:
3030 divided by 331 is 9 with a remainder of 51.
Use 9 as the next digit of our solution. 
Result so far: 1204.839879
Subtracting 2979 from 3030 leaves us with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Step 13:
331 can be fit into 510 1 times, resulting in a remainder of 179.
Put 1 as the next digit of the answer. 
Result so far: 1204.8398791
Subtracting 331 from 510 leaves us with 179.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1790, and continue the process.

Moving on to step 14:
1790 divided by 331 is 5 with a remainder of 135.
Use 5 as the next digit of our solution. 
Result so far: 1204.83987915
Subtracting 1655 from 1790 leaves us with 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

The quotient of the division is 1204.83987915, and the remainder is 1.35e-07.