315140 divided by 79 
We're looking to find how many times 79 goes into 315140.

Moving on to step 1:
The number 79 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 79

Going ahead to step 2:
79 goes into 31 0 times with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Bring next digit (5) of the dividend behind the 31 and repeat the process: 315 / 79

Going ahead to step 3:
79 can be fit into 315 3 times, resulting in a remainder of 78.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 237 from 315 and we're left with 78.
Append the next digit (1) from the dividend to 78 and continue with: 781 / 79

Going ahead to step 4:
If we divide 781 by 79, we get 9 and a remainder of 70.
The number 9 becomes the next digit in our result. 
Result so far: 39.0
If we subtract 711 from 781, we get 70.
Take the next digit (4) from the dividend and append it to 70, then repeat: 704 / 79

Moving on to step 5:
The number 79 fits into 704 8 times, leaving a remainder of 72.
Write down 8 as next digit of the result. 
Result so far: 398.0
Subtracting 632 from 704 leaves us with 72.
Grab the next digit (0) from the dividend, add it to 72, then carry on: 720 / 79

On to step 6:
720 divided by 79 is 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 3989.0
If we take 711 away from 720, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
When dividing 90 by 79, we get 1 with a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 3989.1
If we take 79 away from 90, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 8:
If we divide 110 by 79, we get 1 and a remainder of 31.
The next digit of our result is 1. 
Result so far: 3989.11
Deduct 79 from 110 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The final result is 3989.11 with a remainder of 0.031.