Let's divide 40497124 by 679
Our goal is to divide 40497124 by 679.

On to step 1:
679 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 679

On to step 2:
679 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.
Bring next digit (4) of the dividend behind the 40 and repeat the process: 404 / 679

Step 3:
The number 679 fits into 404 0 times, leaving a remainder of 404.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 404 to get 404.
Fetch the next digit (9) from the dividend, attach it to 404 and continue: 4049 / 679

Let's proceed to step 4:
If we divide 4049 by 679, we get 5 and a remainder of 654.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 3395 away from 4049, we end up with 654.
Grab the next digit (7) from the dividend, add it to 654, then carry on: 6547 / 679

Let's proceed to step 5:
679 goes into 6547 9 times with a remainder of 436.
Write down 9 as next digit of the result. 
Result so far: 59.0
If we subtract 6111 from 6547, we get 436.
Bring next digit (1) of the dividend behind the 436 and repeat the process: 4361 / 679

Advancing to step 6:
If we divide 4361 by 679, we get 6 and a remainder of 287.
Put 6 as the next digit of the answer. 
Result so far: 596.0
Subtract 4074 from 4361 to get 287.
Grab the next digit (2) from the dividend, add it to 287, then carry on: 2872 / 679

Step 7:
679 goes into 2872 4 times with a remainder of 156.
Record the quotient 4 as the next digit in the result. 
Result so far: 5964.0
Subtract 2716 from 2872 to get 156.
Append the next digit (4) from the dividend to 156 and continue with: 1564 / 679

On to step 8:
The number 679 fits into 1564 2 times, leaving a remainder of 206.
The number 2 becomes the next digit in our result. 
Result so far: 59642.0
Deduct 1358 from 1564 and we're left with 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Moving on to step 9:
If we divide 2060 by 679, we get 3 and a remainder of 23.
Write down 3 as next digit of the result. 
Result so far: 59642.3
If we take 2037 away from 2060, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 10:
679 goes into 230 0 times with a remainder of 230.
Use 0 as the next digit of our solution. 
Result so far: 59642.3
Subtracting 0 from 230 leaves us with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Moving on to step 11:
The number 679 fits into 2300 3 times, leaving a remainder of 263.
Use 3 as the next digit of our solution. 
Result so far: 59642.303
Subtracting 2037 from 2300 leaves us with 263.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2630, and continue the process.

Moving on to step 12:
679 goes into 2630 3 times with a remainder of 593.
The number 3 becomes the next digit in our result. 
Result so far: 59642.3033
Subtract 2037 from 2630 to get 593.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5930, and continue the process.

In conclusion, the division gives 59642.3033 with a balance of 0.00593.