397277 ÷ 89 
Our goal is to divide 397277 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
If we subtract 0 from 3, we get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 89

Advancing to step 2:
When dividing 39 by 89, we get 0 with a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Fetch the next digit (7) from the dividend, attach it to 39 and continue: 397 / 89

Going ahead to step 3:
89 goes into 397 4 times with a remainder of 41.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we subtract 356 from 397, we get 41.
Append the next digit (2) from the dividend to 41 and continue with: 412 / 89

On to step 4:
412 divided by 89 is 4 with a remainder of 56.
Record the quotient 4 as the next digit in the result. 
Result so far: 44.0
The remainder is 56 after subtracting 356 from 412.
Grab the next digit (7) from the dividend, add it to 56, then carry on: 567 / 89

On to step 5:
If we divide 567 by 89, we get 6 and a remainder of 33.
Use 6 as the next digit of our solution. 
Result so far: 446.0
Subtracting 534 from 567 leaves us with 33.
Fetch the next digit (7) from the dividend, attach it to 33 and continue: 337 / 89

Step 6:
89 goes into 337 3 times with a remainder of 70.
The next digit of our result is 3. 
Result so far: 4463.0
Deduct 267 from 337 and we're left with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 7:
When dividing 700 by 89, we get 7 with a remainder of 77.
Put 7 as the next digit of the answer. 
Result so far: 4463.7
Subtract 623 from 700 to get 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Moving on to step 8:
If we divide 770 by 89, we get 8 and a remainder of 58.
Put 8 as the next digit of the answer. 
Result so far: 4463.78
Subtract 712 from 770 to get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Advancing to step 9:
The number 89 fits into 580 6 times, leaving a remainder of 46.
Put 6 as the next digit of the answer. 
Result so far: 4463.786
The remainder is 46 after subtracting 534 from 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 10:
When dividing 460 by 89, we get 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 4463.7865
The remainder is 15 after subtracting 445 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 11:
If we divide 150 by 89, we get 1 and a remainder of 61.
Use 1 as the next digit of our solution. 
Result so far: 4463.78651
The remainder is 61 after subtracting 89 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Going ahead to step 12:
89 goes into 610 6 times with a remainder of 76.
Write down 6 as next digit of the result. 
Result so far: 4463.786516
Subtracting 534 from 610 leaves us 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.

Going ahead to step 13:
The number 89 fits into 760 8 times, leaving a remainder of 48.
Put 8 as the next digit of the answer. 
Result so far: 4463.7865168
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.

Moving on to step 14:
If we divide 480 by 89, we get 5 and a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 4463.78651685
Deduct 445 from 480 and we're left 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.

The final outcome is 4463.78651685, with a leftover of 3.5e-08.