We're dividing 331942 by 89 
We want to divide 331942 by 89.

Going ahead to step 1:
The number 89 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 89

On to step 2:
89 can be fit into 33 0 times, resulting in a remainder of 33.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 33 to get 33.
Include the next digit (1) from the dividend after 33, then repeat: 331 / 89

Moving on to step 3:
89 can be fit into 331 3 times, resulting in a remainder of 64.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 64 after subtracting 267 from 331.
Grab the next digit (9) from the dividend, add it to 64, then carry on: 649 / 89

On to step 4:
89 goes into 649 7 times with a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 37.0
Subtract 623 from 649 to get 26.
Include the next digit (4) from the dividend after 26, then repeat: 264 / 89

Step 5:
When dividing 264 by 89, we get 2 with a remainder of 86.
Write down 2 as next digit of the result. 
Result so far: 372.0
Deduct 178 from 264 and we're left with 86.
Bring next digit (2) of the dividend behind the 86 and repeat the process: 862 / 89

Let's proceed to step 6:
89 goes into 862 9 times with a remainder of 61.
Record the quotient 9 as the next digit in the result. 
Result so far: 3729.0
If we take 801 away from 862, we end up with 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Let's proceed to step 7:
When dividing 610 by 89, we get 6 with a remainder of 76.
Write down 6 as next digit of the result. 
Result so far: 3729.6
If we take 534 away from 610, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Step 8:
The number 89 fits into 760 8 times, leaving a remainder of 48.
Record the quotient 8 as the next digit in the result. 
Result so far: 3729.68
Subtract 712 from 760 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 9:
If we divide 480 by 89, we get 5 and a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 3729.685
Subtracting 445 from 480 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 10:
350 divided by 89 is 3 with a remainder of 83.
Write down 3 as next digit of the result. 
Result so far: 3729.6853
Deduct 267 from 350 and we're left with 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Moving on to step 11:
89 can be fit into 830 9 times, resulting in a remainder of 29.
The next digit of our result is 9. 
Result so far: 3729.68539
Deduct 801 from 830 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 12:
If we divide 290 by 89, we get 3 and a remainder of 23.
Write down 3 as next digit of the result. 
Result so far: 3729.685393
Subtract 267 from 290 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 13:
230 divided by 89 is 2 with a remainder of 52.
Record the quotient 2 as the next digit in the result. 
Result so far: 3729.6853932
Deduct 178 from 230 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 14:
89 can be fit into 520 5 times, resulting in a remainder of 75.
Write down 5 as next digit of the result. 
Result so far: 3729.68539325
If we take 445 away from 520, we end up with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

After the division, we end up with 3729.68539325 and a remainder of 7.5e-08.