315987 divided by 30 
Our goal is to divide 315987 by 30.

On to step 1:
If we divide 3 by 30, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 30

Let's proceed to step 2:
30 goes into 31 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 1 after subtracting 30 from 31.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 30

Let's proceed to step 3:
30 goes into 15 0 times with a remainder of 15.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtract 0 from 15 to get 15.
Grab the next digit (9) from the dividend, add it to 15, then carry on: 159 / 30

Moving on to step 4:
If we divide 159 by 30, we get 5 and a remainder of 9.
The next digit of our result is 5. 
Result so far: 105.0
If we take 150 away from 159, we end up with 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 30

Let's proceed to step 5:
The number 30 fits into 98 3 times, leaving a remainder of 8.
Write down 3 as next digit of the result. 
Result so far: 1053.0
Subtracting 90 from 98 leaves us with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 30

Moving on to step 6:
30 goes into 87 2 times with a remainder of 27.
Use 2 as the next digit of our solution. 
Result so far: 10532.0
The remainder is 27 after subtracting 60 from 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 7:
If we divide 270 by 30, we get 9 and a remainder of 0.
The next digit of our result is 9. 
Result so far: 10532.9
Deduct 270 from 270 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
When dividing 0 by 30, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 10532.9
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
When dividing 0 by 30, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10532.9
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 10532.9 and a remainder of 0.0.