We look at the division of 40754794 by 324 
Our goal is to divide 40754794 by 324.

Advancing to step 1:
324 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 324

Advancing to step 2:
324 goes into 40 0 times with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Append the next digit (7) from the dividend to 40 and continue with: 407 / 324

Step 3:
407 divided by 324 is 1 with a remainder of 83.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 324 from 407 and we're left with 83.
Fetch the next digit (5) from the dividend, attach it to 83 and continue: 835 / 324

Step 4:
835 divided by 324 is 2 with a remainder of 187.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
If we subtract 648 from 835, we get 187.
Grab the next digit (4) from the dividend, add it to 187, then carry on: 1874 / 324

Step 5:
1874 divided by 324 is 5 with a remainder of 254.
The number 5 becomes the next digit in our result. 
Result so far: 125.0
Subtract 1620 from 1874 to get 254.
Include the next digit (7) from the dividend after 254, then repeat: 2547 / 324

Going ahead to step 6:
The number 324 fits into 2547 7 times, leaving a remainder of 279.
Write down 7 as next digit of the result. 
Result so far: 1257.0
Subtracting 2268 from 2547 leaves us with 279.
Fetch the next digit (9) from the dividend, attach it to 279 and continue: 2799 / 324

Step 7:
324 can be fit into 2799 8 times, resulting in a remainder of 207.
Put 8 as the next digit of the answer. 
Result so far: 12578.0
Deduct 2592 from 2799 and we're left with 207.
Fetch the next digit (4) from the dividend, attach it to 207 and continue: 2074 / 324

Step 8:
The number 324 fits into 2074 6 times, leaving a remainder of 130.
The number 6 becomes the next digit in our result. 
Result so far: 125786.0
If we take 1944 away from 2074, we end up with 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Moving on to step 9:
324 goes into 1300 4 times with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 125786.4
Deduct 1296 from 1300 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 10:
324 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 125786.4
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 11:
When dividing 400 by 324, we get 1 with a remainder of 76.
Put 1 as the next digit of the answer. 
Result so far: 125786.401
If we take 324 away from 400, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 12:
The number 324 fits into 760 2 times, leaving a remainder of 112.
Use 2 as the next digit of our solution. 
Result so far: 125786.4012
Subtracting 648 from 760 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Advancing to step 13:
The number 324 fits into 1120 3 times, leaving a remainder of 148.
Record the quotient 3 as the next digit in the result. 
Result so far: 125786.40123
If we take 972 away from 1120, we end up with 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Step 14:
324 can be fit into 1480 4 times, resulting in a remainder of 184.
Put 4 as the next digit of the answer. 
Result so far: 125786.401234
If we take 1296 away from 1480, we end up with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Moving on to step 15:
If we divide 1840 by 324, we get 5 and a remainder of 220.
Use 5 as the next digit of our solution. 
Result so far: 125786.4012345
Subtract 1620 from 1840 to get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Step 16:
324 goes into 2200 6 times with a remainder of 256.
Write down 6 as next digit of the result. 
Result so far: 125786.40123456
Deduct 1944 from 2200 and we're left with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

The final result is 125786.40123456 with a remainder of 2.56e-07.