Let's divide 140742 by 79
We're looking to find how many times 79 goes into 140742.

Going ahead to step 1:
When dividing 1 by 79, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 79

On to step 2:
14 divided by 79 is 0 with a remainder of 14.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 14, we end up with 14.
Include the next digit (0) from the dividend after 14, then repeat: 140 / 79

On to step 3:
The number 79 fits into 140 1 times, leaving a remainder of 61.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 79 from 140 leaves us with 61.
Take the next digit (7) from the dividend and append it to 61, then repeat: 617 / 79

Going ahead to step 4:
If we divide 617 by 79, we get 7 and a remainder of 64.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we take 553 away from 617, we end up with 64.
Include the next digit (4) from the dividend after 64, then repeat: 644 / 79

Going ahead to step 5:
When dividing 644 by 79, we get 8 with a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 178.0
Subtracting 632 from 644 leaves us with 12.
Append the next digit (2) from the dividend to 12 and continue with: 122 / 79

Step 6:
When dividing 122 by 79, we get 1 with a remainder of 43.
The next digit of our result is 1. 
Result so far: 1781.0
The remainder is 43 after subtracting 79 from 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

On to step 7:
If we divide 430 by 79, we get 5 and a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 1781.5
Deduct 395 from 430 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 8:
When dividing 350 by 79, we get 4 with a remainder of 34.
The next digit of our result is 4. 
Result so far: 1781.54
If we take 316 away from 350, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 9:
340 divided by 79 is 4 with a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 1781.544
Deduct 316 from 340 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

After the division, we end up with 1781.544 and a remainder of 0.0024.