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

Step 1:
When dividing 3 by 15, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 15

Moving on to step 2:
The number 15 fits into 31 2 times, leaving a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 30 from 31 to get 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 15

On to step 3:
The number 15 fits into 15 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 21.0
If we take 15 away from 15, we end up with 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 15

On to step 4:
7 divided by 15 is 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 210.0
If we subtract 0 from 7, we get 7.
Include the next digit (4) from the dividend after 7, then repeat: 74 / 15

Step 5:
If we divide 74 by 15, we get 4 and a remainder of 14.
The number 4 becomes the next digit in our result. 
Result so far: 2104.0
Subtracting 60 from 74 leaves us with 14.
Grab the next digit (0) from the dividend, add it to 14, then carry on: 140 / 15

On to step 6:
140 divided by 15 is 9 with a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 21049.0
The remainder is 5 after subtracting 135 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 7:
The number 15 fits into 50 3 times, leaving a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 21049.3
If we take 45 away from 50, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
15 goes into 50 3 times with a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 21049.33
Subtracting 45 from 50 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final outcome is 21049.33, with a leftover of 0.005.