38518440 divided by 126 
We want to divide 38518440 by 126.

Let's proceed to step 1:
If we divide 3 by 126, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 126

Advancing to step 2:
126 goes into 38 0 times with a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Append the next digit (5) from the dividend to 38 and continue with: 385 / 126

Going ahead to step 3:
The number 126 fits into 385 3 times, leaving a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 378 from 385 leaves us with 7.
Grab the next digit (1) from the dividend, add it to 7, then carry on: 71 / 126

Moving on to step 4:
If we divide 71 by 126, we get 0 and a remainder of 71.
The number 0 becomes the next digit in our result. 
Result so far: 30.0
Subtract 0 from 71 to get 71.
Grab the next digit (8) from the dividend, add it to 71, then carry on: 718 / 126

Advancing to step 5:
126 goes into 718 5 times with a remainder of 88.
The next digit of our result is 5. 
Result so far: 305.0
Deduct 630 from 718 and we're left with 88.
Take the next digit (4) from the dividend and append it to 88, then repeat: 884 / 126

Moving on to step 6:
126 goes into 884 7 times with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 3057.0
The remainder is 2 after subtracting 882 from 884.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 126

Step 7:
If we divide 24 by 126, we get 0 and a remainder of 24.
Write down 0 as next digit of the result. 
Result so far: 30570.0
If we take 0 away from 24, we end up with 24.
Grab the next digit (0) from the dividend, add it to 24, then carry on: 240 / 126

On to step 8:
If we divide 240 by 126, we get 1 and a remainder of 114.
The next digit of our result is 1. 
Result so far: 305701.0
If we subtract 126 from 240, we get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Let's proceed to step 9:
1140 divided by 126 is 9 with a remainder of 6.
The number 9 becomes the next digit in our result. 
Result so far: 305701.9
If we take 1134 away from 1140, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 10:
126 goes into 60 0 times with a remainder of 60.
The next digit of our result is 0. 
Result so far: 305701.9
Deduct 0 from 60 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Moving on to step 11:
126 can be fit into 600 4 times, resulting in a remainder of 96.
Use 4 as the next digit of our solution. 
Result so far: 305701.904
Subtracting 504 from 600 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Advancing to step 12:
126 goes into 960 7 times with a remainder of 78.
Record the quotient 7 as the next digit in the result. 
Result so far: 305701.9047
Subtract 882 from 960 to get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Advancing to step 13:
When dividing 780 by 126, we get 6 with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 305701.90476
The remainder is 24 after subtracting 756 from 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 14:
When dividing 240 by 126, we get 1 with a remainder of 114.
Write down 1 as next digit of the result. 
Result so far: 305701.904761
Subtracting 126 from 240 leaves us with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Advancing to step 15:
126 goes into 1140 9 times with a remainder of 6.
The next digit of our result is 9. 
Result so far: 305701.9047619
Subtract 1134 from 1140 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 16:
The number 126 fits into 60 0 times, leaving a remainder of 60.
The next digit of our result is 0. 
Result so far: 305701.9047619
The remainder is 60 after subtracting 0 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Our division results in 305701.9047619 with a remaining 6e-08.