40139673 divided by 117 
We want to divide 40139673 by 117.

Let's proceed to step 1:
4 divided by 117 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 117

Advancing to step 2:
117 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Append the next digit (1) from the dividend to 40 and continue with: 401 / 117

Advancing to step 3:
401 divided by 117 is 3 with a remainder of 50.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 351 away from 401, we end up with 50.
Fetch the next digit (3) from the dividend, attach it to 50 and continue: 503 / 117

Advancing to step 4:
When dividing 503 by 117, we get 4 with a remainder of 35.
Write down 4 as next digit of the result. 
Result so far: 34.0
Subtracting 468 from 503 leaves us with 35.
Append the next digit (9) from the dividend to 35 and continue with: 359 / 117

Advancing to step 5:
When dividing 359 by 117, we get 3 with a remainder of 8.
The next digit of our result is 3. 
Result so far: 343.0
The remainder is 8 after subtracting 351 from 359.
Take the next digit (6) from the dividend and append it to 8, then repeat: 86 / 117

Advancing to step 6:
If we divide 86 by 117, we get 0 and a remainder of 86.
Write down 0 as next digit of the result. 
Result so far: 3430.0
If we subtract 0 from 86, we get 86.
Append the next digit (7) from the dividend to 86 and continue with: 867 / 117

Step 7:
When dividing 867 by 117, we get 7 with a remainder of 48.
The next digit of our result is 7. 
Result so far: 34307.0
Subtracting 819 from 867 leaves us with 48.
Grab the next digit (3) from the dividend, add it to 48, then carry on: 483 / 117

Let's proceed to step 8:
117 can be fit into 483 4 times, resulting in a remainder of 15.
Write down 4 as next digit of the result. 
Result so far: 343074.0
The remainder is 15 after subtracting 468 from 483.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 9:
117 goes into 150 1 times with a remainder of 33.
Put 1 as the next digit of the answer. 
Result so far: 343074.1
Subtract 117 from 150 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 10:
When dividing 330 by 117, we get 2 with a remainder of 96.
Record the quotient 2 as the next digit in the result. 
Result so far: 343074.12
Subtract 234 from 330 to get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Moving on to step 11:
If we divide 960 by 117, we get 8 and a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 343074.128
Subtract 936 from 960 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 12:
240 divided by 117 is 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 343074.1282
The remainder is 6 after subtracting 234 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
117 can be fit into 60 0 times, resulting in a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 343074.1282
Subtracting 0 from 60 leaves us 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.

Going ahead to step 14:
The number 117 fits into 600 5 times, leaving a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 343074.128205
Subtract 585 from 600 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 15:
117 goes into 150 1 times with a remainder of 33.
Put 1 as the next digit of the answer. 
Result so far: 343074.1282051
Subtract 117 from 150 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 16:
The number 117 fits into 330 2 times, leaving a remainder of 96.
The next digit of our result is 2. 
Result so far: 343074.12820512
Deduct 234 from 330 and we're left 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.

The quotient of the division is 343074.12820512, and the remainder is 9.6e-08.