40359878 divided by 108 
Our goal is to divide 40359878 by 108.

Let's proceed to step 1:
When dividing 4 by 108, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 108

Step 2:
The number 108 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Grab the next digit (3) from the dividend, add it to 40, then carry on: 403 / 108

Moving on to step 3:
When dividing 403 by 108, we get 3 with a remainder of 79.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 324 from 403, we get 79.
Bring next digit (5) of the dividend behind the 79 and repeat the process: 795 / 108

Let's proceed to step 4:
108 goes into 795 7 times with a remainder of 39.
Use 7 as the next digit of our solution. 
Result so far: 37.0
If we subtract 756 from 795, we get 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 108

Let's proceed to step 5:
108 can be fit into 399 3 times, resulting in a remainder of 75.
Record the quotient 3 as the next digit in the result. 
Result so far: 373.0
Subtract 324 from 399 to get 75.
Bring next digit (8) of the dividend behind the 75 and repeat the process: 758 / 108

Moving on to step 6:
If we divide 758 by 108, we get 7 and a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 3737.0
Subtract 756 from 758 to get 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 108

Advancing to step 7:
When dividing 27 by 108, we get 0 with a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 37370.0
Deduct 0 from 27 and we're left with 27.
Append the next digit (8) from the dividend to 27 and continue with: 278 / 108

Going ahead to step 8:
108 goes into 278 2 times with a remainder of 62.
The next digit of our result is 2. 
Result so far: 373702.0
If we take 216 away from 278, we end up with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Let's proceed to step 9:
The number 108 fits into 620 5 times, leaving a remainder of 80.
Put 5 as the next digit of the answer. 
Result so far: 373702.5
If we subtract 540 from 620, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 10:
When dividing 800 by 108, we get 7 with a remainder of 44.
Write down 7 as next digit of the result. 
Result so far: 373702.57
If we take 756 away from 800, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 11:
When dividing 440 by 108, we get 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 373702.574
Subtract 432 from 440 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 12:
The number 108 fits into 80 0 times, leaving a remainder of 80.
Put 0 as the next digit of the answer. 
Result so far: 373702.574
Subtract 0 from 80 to get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 13:
108 goes into 800 7 times with a remainder of 44.
Record the quotient 7 as the next digit in the result. 
Result so far: 373702.57407
If we take 756 away from 800, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 14:
440 divided by 108 is 4 with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 373702.574074
If we subtract 432 from 440, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 15:
108 can be fit into 80 0 times, resulting in a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 373702.574074
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 16:
800 divided by 108 is 7 with a remainder of 44.
The next digit of our result is 7. 
Result so far: 373702.57407407
The remainder is 44 after subtracting 756 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

The final outcome is 373702.57407407, with a leftover of 4.4e-08.