We look at the division of 40158384 by 683 
Our goal is to divide 40158384 by 683.

Advancing to step 1:
683 can be fit into 4 0 times, resulting in 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.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 683

On to step 2:
If we divide 40 by 683, we get 0 and 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.
Include the next digit (1) from the dividend after 40, then repeat: 401 / 683

Let's proceed to step 3:
The number 683 fits into 401 0 times, leaving a remainder of 401.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 401 to get 401.
Include the next digit (5) from the dividend after 401, then repeat: 4015 / 683

Let's proceed to step 4:
If we divide 4015 by 683, we get 5 and a remainder of 600.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 3415 from 4015 leaves us with 600.
Include the next digit (8) from the dividend after 600, then repeat: 6008 / 683

Moving on to step 5:
683 can be fit into 6008 8 times, resulting in a remainder of 544.
Record the quotient 8 as the next digit in the result. 
Result so far: 58.0
Deduct 5464 from 6008 and we're left with 544.
Fetch the next digit (3) from the dividend, attach it to 544 and continue: 5443 / 683

Moving on to step 6:
When dividing 5443 by 683, we get 7 with a remainder of 662.
Use 7 as the next digit of our solution. 
Result so far: 587.0
If we take 4781 away from 5443, we end up with 662.
Bring next digit (8) of the dividend behind the 662 and repeat the process: 6628 / 683

On to step 7:
683 goes into 6628 9 times with a remainder of 481.
Use 9 as the next digit of our solution. 
Result so far: 5879.0
Subtract 6147 from 6628 to get 481.
Fetch the next digit (4) from the dividend, attach it to 481 and continue: 4814 / 683

Step 8:
If we divide 4814 by 683, we get 7 and a remainder of 33.
Write down 7 as next digit of the result. 
Result so far: 58797.0
If we take 4781 away from 4814, we end up with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 9:
If we divide 330 by 683, we get 0 and a remainder of 330.
The number 0 becomes the next digit in our result. 
Result so far: 58797.0
Deduct 0 from 330 and we're left with 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3300, and continue the process.

Going ahead to step 10:
The number 683 fits into 3300 4 times, leaving a remainder of 568.
Record the quotient 4 as the next digit in the result. 
Result so far: 58797.04
Subtracting 2732 from 3300 leaves us with 568.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5680, and continue the process.

Let's proceed to step 11:
683 can be fit into 5680 8 times, resulting in a remainder of 216.
Record the quotient 8 as the next digit in the result. 
Result so far: 58797.048
Deduct 5464 from 5680 and we're left with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Advancing to step 12:
The number 683 fits into 2160 3 times, leaving a remainder of 111.
Use 3 as the next digit of our solution. 
Result so far: 58797.0483
Subtract 2049 from 2160 to get 111.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1110, and continue the process.

On to step 13:
683 goes into 1110 1 times with a remainder of 427.
Use 1 as the next digit of our solution. 
Result so far: 58797.04831
Subtract 683 from 1110 to get 427.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4270, and continue the process.

Advancing to step 14:
The number 683 fits into 4270 6 times, leaving a remainder of 172.
Use 6 as the next digit of our solution. 
Result so far: 58797.048316
Subtract 4098 from 4270 to get 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

On to step 15:
The number 683 fits into 1720 2 times, leaving a remainder of 354.
Record the quotient 2 as the next digit in the result. 
Result so far: 58797.0483162
Subtracting 1366 from 1720 leaves us with 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

Advancing to step 16:
3540 divided by 683 is 5 with a remainder of 125.
Record the quotient 5 as the next digit in the result. 
Result so far: 58797.04831625
Subtracting 3415 from 3540 leaves us with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

After the division, we end up with 58797.04831625 and a remainder of 1.25e-07.