40500340 ÷ 594 
We want to divide 40500340 by 594.

On to step 1:
594 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 594

On to step 2:
594 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Take the next digit (5) from the dividend and append it to 40, then repeat: 405 / 594

Let's proceed to step 3:
405 divided by 594 is 0 with a remainder of 405.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 405 to get 405.
Grab the next digit (0) from the dividend, add it to 405, then carry on: 4050 / 594

On to step 4:
594 goes into 4050 6 times with a remainder of 486.
Put 6 as the next digit of the answer. 
Result so far: 6.0
The remainder is 486 after subtracting 3564 from 4050.
Append the next digit (0) from the dividend to 486 and continue with: 4860 / 594

Going ahead to step 5:
594 goes into 4860 8 times with a remainder of 108.
Put 8 as the next digit of the answer. 
Result so far: 68.0
Subtracting 4752 from 4860 leaves us with 108.
Bring next digit (3) of the dividend behind the 108 and repeat the process: 1083 / 594

On to step 6:
594 goes into 1083 1 times with a remainder of 489.
Put 1 as the next digit of the answer. 
Result so far: 681.0
Deduct 594 from 1083 and we're left with 489.
Fetch the next digit (4) from the dividend, attach it to 489 and continue: 4894 / 594

Advancing to step 7:
If we divide 4894 by 594, we get 8 and a remainder of 142.
The next digit of our result is 8. 
Result so far: 6818.0
Subtract 4752 from 4894 to get 142.
Take the next digit (0) from the dividend and append it to 142, then repeat: 1420 / 594

On to step 8:
The number 594 fits into 1420 2 times, leaving a remainder of 232.
The next digit of our result is 2. 
Result so far: 68182.0
Subtracting 1188 from 1420 leaves us with 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

On to step 9:
594 goes into 2320 3 times with a remainder of 538.
The number 3 becomes the next digit in our result. 
Result so far: 68182.3
If we take 1782 away from 2320, we end up with 538.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5380, and continue the process.

Going ahead to step 10:
When dividing 5380 by 594, we get 9 with a remainder of 34.
Put 9 as the next digit of the answer. 
Result so far: 68182.39
Deduct 5346 from 5380 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 11:
594 goes into 340 0 times with a remainder of 340.
The number 0 becomes the next digit in our result. 
Result so far: 68182.39
Subtracting 0 from 340 leaves us with 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Going ahead to step 12:
If we divide 3400 by 594, we get 5 and a remainder of 430.
The next digit of our result is 5. 
Result so far: 68182.3905
Deduct 2970 from 3400 and we're left with 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Step 13:
When dividing 4300 by 594, we get 7 with a remainder of 142.
The number 7 becomes the next digit in our result. 
Result so far: 68182.39057
Subtract 4158 from 4300 to get 142.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

Step 14:
1420 divided by 594 is 2 with a remainder of 232.
Record the quotient 2 as the next digit in the result. 
Result so far: 68182.390572
Subtract 1188 from 1420 to get 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Step 15:
The number 594 fits into 2320 3 times, leaving a remainder of 538.
Record the quotient 3 as the next digit in the result. 
Result so far: 68182.3905723
Deduct 1782 from 2320 and we're left with 538.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5380, and continue the process.

On to step 16:
5380 divided by 594 is 9 with a remainder of 34.
Record the quotient 9 as the next digit in the result. 
Result so far: 68182.39057239
If we subtract 5346 from 5380, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

After the division, we end up with 68182.39057239 and a remainder of 3.4e-08.