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

Going ahead to step 1:
126 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 126

On to step 2:
If we divide 39 by 126, we get 0 and a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Fetch the next digit (9) from the dividend, attach it to 39 and continue: 399 / 126

Step 3:
399 divided by 126 is 3 with a remainder of 21.
Write down 3 as next digit of the result. 
Result so far: 3.0
Deduct 378 from 399 and we're left with 21.
Grab the next digit (3) from the dividend, add it to 21, then carry on: 213 / 126

On to step 4:
213 divided by 126 is 1 with a remainder of 87.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
If we subtract 126 from 213, we get 87.
Append the next digit (6) from the dividend to 87 and continue with: 876 / 126

Going ahead to step 5:
126 goes into 876 6 times with a remainder of 120.
Record the quotient 6 as the next digit in the result. 
Result so far: 316.0
Deduct 756 from 876 and we're left with 120.
Include the next digit (9) from the dividend after 120, then repeat: 1209 / 126

Step 6:
1209 divided by 126 is 9 with a remainder of 75.
The number 9 becomes the next digit in our result. 
Result so far: 3169.0
The remainder is 75 after subtracting 1134 from 1209.
Take the next digit (6) from the dividend and append it to 75, then repeat: 756 / 126

Advancing to step 7:
If we divide 756 by 126, we get 6 and a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 31696.0
Subtract 756 from 756 to get 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 126

Let's proceed to step 8:
The number 126 fits into 7 0 times, leaving a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 316960.0
The remainder is 7 after subtracting 0 from 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 9:
70 divided by 126 is 0 with a remainder of 70.
Record the quotient 0 as the next digit in the result. 
Result so far: 316960.0
Deduct 0 from 70 and we're left with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 10:
The number 126 fits into 700 5 times, leaving a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 316960.05
Deduct 630 from 700 and we're left with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 11:
If we divide 700 by 126, we get 5 and a remainder of 70.
The number 5 becomes the next digit in our result. 
Result so far: 316960.055
Subtracting 630 from 700 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

After the division, we end up with 316960.055 and a remainder of 0.007.