We divide 126787 by 74
We want to divide 126787 by 74.

Moving on to step 1:
74 goes into 1 0 times with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 74

Step 2:
74 goes into 12 0 times with a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Bring next digit (6) of the dividend behind the 12 and repeat the process: 126 / 74

Advancing to step 3:
If we divide 126 by 74, we get 1 and a remainder of 52.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 74 from 126 leaves us with 52.
Fetch the next digit (7) from the dividend, attach it to 52 and continue: 527 / 74

Going ahead to step 4:
527 divided by 74 is 7 with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 17.0
Subtracting 518 from 527 leaves us with 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 74

Let's proceed to step 5:
The number 74 fits into 98 1 times, leaving a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 171.0
If we subtract 74 from 98, we get 24.
Append the next digit (7) from the dividend to 24 and continue with: 247 / 74

On to step 6:
If we divide 247 by 74, we get 3 and a remainder of 25.
Record the quotient 3 as the next digit in the result. 
Result so far: 1713.0
Subtracting 222 from 247 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 7:
The number 74 fits into 250 3 times, leaving a remainder of 28.
Put 3 as the next digit of the answer. 
Result so far: 1713.3
Subtracting 222 from 250 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 8:
74 goes into 280 3 times with a remainder of 58.
The number 3 becomes the next digit in our result. 
Result so far: 1713.33
If we take 222 away from 280, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

The quotient of the division is 1713.33, and the remainder is 0.058.