We look at the division of 397150 by 9 
We're looking to find how many times 9 goes into 397150.

Step 1:
The number 9 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 9

On to step 2:
9 goes into 39 4 times with a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 3 after subtracting 36 from 39.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 9

Let's proceed to step 3:
37 divided by 9 is 4 with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 44.0
Deduct 36 from 37 and we're left with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 9

On to step 4:
9 can be fit into 11 1 times, resulting in a remainder of 2.
The next digit of our result is 1. 
Result so far: 441.0
If we take 9 away from 11, we end up with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 9

Advancing to step 5:
If we divide 25 by 9, we get 2 and a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 4412.0
The remainder is 7 after subtracting 18 from 25.
Take the next digit (0) from the dividend and append it to 7, then repeat: 70 / 9

Going ahead to step 6:
9 goes into 70 7 times with a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 44127.0
The remainder is 7 after subtracting 63 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 7:
9 goes into 70 7 times with a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 44127.7
The remainder is 7 after subtracting 63 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 8:
9 goes into 70 7 times with a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 44127.77
Subtracting 63 from 70 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Our division results in 44127.77 with a remaining 0.007.