Let's divide 331047 by 89
Our goal is to divide 331047 by 89.

Step 1:
The number 89 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 89

On to step 2:
If we divide 33 by 89, we get 0 and a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 33, we get 33.
Append the next digit (1) from the dividend to 33 and continue with: 331 / 89

On to step 3:
89 can be fit into 331 3 times, resulting in a remainder of 64.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
The remainder is 64 after subtracting 267 from 331.
Include the next digit (0) from the dividend after 64, then repeat: 640 / 89

Moving on to step 4:
If we divide 640 by 89, we get 7 and a remainder of 17.
Use 7 as the next digit of our solution. 
Result so far: 37.0
Subtracting 623 from 640 leaves us with 17.
Include the next digit (4) from the dividend after 17, then repeat: 174 / 89

On to step 5:
If we divide 174 by 89, we get 1 and a remainder of 85.
The next digit of our result is 1. 
Result so far: 371.0
If we take 89 away from 174, we end up with 85.
Take the next digit (7) from the dividend and append it to 85, then repeat: 857 / 89

Moving on to step 6:
If we divide 857 by 89, we get 9 and a remainder of 56.
Record the quotient 9 as the next digit in the result. 
Result so far: 3719.0
The remainder is 56 after subtracting 801 from 857.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 7:
89 can be fit into 560 6 times, resulting in a remainder of 26.
Put 6 as the next digit of the answer. 
Result so far: 3719.6
Subtracting 534 from 560 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 8:
89 goes into 260 2 times with a remainder of 82.
Write down 2 as next digit of the result. 
Result so far: 3719.62
The remainder is 82 after subtracting 178 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Let's proceed to step 9:
The number 89 fits into 820 9 times, leaving a remainder of 19.
Put 9 as the next digit of the answer. 
Result so far: 3719.629
Subtracting 801 from 820 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 10:
89 goes into 190 2 times with a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 3719.6292
Subtract 178 from 190 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 11:
The number 89 fits into 120 1 times, leaving a remainder of 31.
Write down 1 as next digit of the result. 
Result so far: 3719.62921
If we take 89 away from 120, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 12:
89 can be fit into 310 3 times, resulting in a remainder of 43.
Put 3 as the next digit of the answer. 
Result so far: 3719.629213
If we take 267 away from 310, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Moving on to step 13:
89 goes into 430 4 times with a remainder of 74.
Record the quotient 4 as the next digit in the result. 
Result so far: 3719.6292134
Subtracting 356 from 430 leaves us with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Going ahead to step 14:
The number 89 fits into 740 8 times, leaving a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 3719.62921348
Subtract 712 from 740 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

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