We divide 317152 by 9
We're looking to find how many times 9 goes into 317152.

On to step 1:
When dividing 3 by 9, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 9

Advancing to step 2:
The number 9 fits into 31 3 times, leaving a remainder of 4.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 27 from 31 to get 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 9

Moving on to step 3:
9 goes into 47 5 times with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 35.0
If we subtract 45 from 47, we get 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 9

On to step 4:
9 goes into 21 2 times with a remainder of 3.
The next digit of our result is 2. 
Result so far: 352.0
Subtracting 18 from 21 leaves us with 3.
Bring next digit (5) of the dividend behind the 3 and repeat the process: 35 / 9

Going ahead to step 5:
When dividing 35 by 9, we get 3 with a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 3523.0
The remainder is 8 after subtracting 27 from 35.
Include the next digit (2) from the dividend after 8, then repeat: 82 / 9

Going ahead to step 6:
82 divided by 9 is 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 35239.0
The remainder is 1 after subtracting 81 from 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
9 goes into 10 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 35239.1
Deduct 9 from 10 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 8:
9 goes into 10 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 35239.11
If we subtract 9 from 10, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

After the division, we end up with 35239.11 and a remainder of 0.001.