We look at the division of 397387 by 47 
Let's see how many times 47 fits into 397387.

On to step 1:
When dividing 3 by 47, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 47

Moving on to step 2:
47 goes into 39 0 times with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Include the next digit (7) from the dividend after 39, then repeat: 397 / 47

On to step 3:
The number 47 fits into 397 8 times, leaving a remainder of 21.
Write down 8 as next digit of the result. 
Result so far: 8.0
Deduct 376 from 397 and we're left with 21.
Include the next digit (3) from the dividend after 21, then repeat: 213 / 47

Advancing to step 4:
If we divide 213 by 47, we get 4 and a remainder of 25.
Use 4 as the next digit of our solution. 
Result so far: 84.0
Subtract 188 from 213 to get 25.
Take the next digit (8) from the dividend and append it to 25, then repeat: 258 / 47

Step 5:
47 goes into 258 5 times with a remainder of 23.
Write down 5 as next digit of the result. 
Result so far: 845.0
If we subtract 235 from 258, we get 23.
Take the next digit (7) from the dividend and append it to 23, then repeat: 237 / 47

Step 6:
237 divided by 47 is 5 with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 8455.0
Subtracting 235 from 237 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
47 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 8455.0
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
If we divide 200 by 47, we get 4 and a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 8455.04
If we take 188 away from 200, we end up with 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 9:
120 divided by 47 is 2 with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 8455.042
Deduct 94 from 120 and we're left 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.

On to step 10:
47 goes into 260 5 times with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 8455.0425
Subtract 235 from 260 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 11:
The number 47 fits into 250 5 times, leaving a remainder of 15.
The next digit of our result is 5. 
Result so far: 8455.04255
The remainder is 15 after subtracting 235 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

In conclusion, the division gives 8455.04255 with a balance of 1.5e-05.