40537686 divided by 678 
Let's see how many times 678 fits into 40537686.

Moving on to step 1:
The number 678 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 678

Let's proceed to step 2:
40 divided by 678 is 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (5) from the dividend and append it to 40, then repeat: 405 / 678

Let's proceed to step 3:
If we divide 405 by 678, we get 0 and a remainder of 405.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 405, we get 405.
Grab the next digit (3) from the dividend, add it to 405, then carry on: 4053 / 678

Advancing to step 4:
678 goes into 4053 5 times with a remainder of 663.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 3390 away from 4053, we end up with 663.
Include the next digit (7) from the dividend after 663, then repeat: 6637 / 678

Step 5:
The number 678 fits into 6637 9 times, leaving a remainder of 535.
The next digit of our result is 9. 
Result so far: 59.0
If we subtract 6102 from 6637, we get 535.
Include the next digit (6) from the dividend after 535, then repeat: 5356 / 678

Step 6:
678 can be fit into 5356 7 times, resulting in a remainder of 610.
Put 7 as the next digit of the answer. 
Result so far: 597.0
Subtract 4746 from 5356 to get 610.
Append the next digit (8) from the dividend to 610 and continue with: 6108 / 678

Step 7:
If we divide 6108 by 678, we get 9 and a remainder of 6.
The number 9 becomes the next digit in our result. 
Result so far: 5979.0
If we subtract 6102 from 6108, we get 6.
Fetch the next digit (6) from the dividend, attach it to 6 and continue: 66 / 678

Going ahead to step 8:
The number 678 fits into 66 0 times, leaving a remainder of 66.
Use 0 as the next digit of our solution. 
Result so far: 59790.0
Subtract 0 from 66 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Moving on to step 9:
If we divide 660 by 678, we get 0 and a remainder of 660.
The next digit of our result is 0. 
Result so far: 59790.0
The remainder is 660 after subtracting 0 from 660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6600, and continue the process.

Step 10:
When dividing 6600 by 678, we get 9 with a remainder of 498.
Record the quotient 9 as the next digit in the result. 
Result so far: 59790.09
If we subtract 6102 from 6600, we get 498.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4980, and continue the process.

Let's proceed to step 11:
4980 divided by 678 is 7 with a remainder of 234.
Use 7 as the next digit of our solution. 
Result so far: 59790.097
Subtracting 4746 from 4980 leaves us with 234.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

Advancing to step 12:
The number 678 fits into 2340 3 times, leaving a remainder of 306.
Write down 3 as next digit of the result. 
Result so far: 59790.0973
Deduct 2034 from 2340 and we're left with 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Going ahead to step 13:
678 goes into 3060 4 times with a remainder of 348.
The number 4 becomes the next digit in our result. 
Result so far: 59790.09734
The remainder is 348 after subtracting 2712 from 3060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3480, and continue the process.

Advancing to step 14:
The number 678 fits into 3480 5 times, leaving a remainder of 90.
Use 5 as the next digit of our solution. 
Result so far: 59790.097345
Deduct 3390 from 3480 and we're left with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Advancing to step 15:
When dividing 900 by 678, we get 1 with a remainder of 222.
Write down 1 as next digit of the result. 
Result so far: 59790.0973451
Subtract 678 from 900 to get 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Moving on to step 16:
678 can be fit into 2220 3 times, resulting in a remainder of 186.
The next digit of our result is 3. 
Result so far: 59790.09734513
Subtract 2034 from 2220 to get 186.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1860, and continue the process.

Our division results in 59790.09734513 with a remaining 1.86e-07.