We're dividing 40596860 by 679 
We're looking to find how many times 679 goes into 40596860.

On to step 1:
When dividing 4 by 679, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our 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:
When dividing 40 by 679, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Bring next digit (5) of the dividend behind the 40 and repeat the process: 405 / 679

Advancing to step 3:
If we divide 405 by 679, we get 0 and a remainder of 405.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 405 after subtracting 0 from 405.
Bring next digit (9) of the dividend behind the 405 and repeat the process: 4059 / 679

On to step 4:
If we divide 4059 by 679, we get 5 and a remainder of 664.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtract 3395 from 4059 to get 664.
Fetch the next digit (6) from the dividend, attach it to 664 and continue: 6646 / 679

Moving on to step 5:
The number 679 fits into 6646 9 times, leaving a remainder of 535.
The next digit of our result is 9. 
Result so far: 59.0
Subtract 6111 from 6646 to get 535.
Fetch the next digit (8) from the dividend, attach it to 535 and continue: 5358 / 679

Let's proceed to step 6:
If we divide 5358 by 679, we get 7 and a remainder of 605.
Record the quotient 7 as the next digit in the result. 
Result so far: 597.0
If we subtract 4753 from 5358, we get 605.
Take the next digit (6) from the dividend and append it to 605, then repeat: 6056 / 679

Going ahead to step 7:
6056 divided by 679 is 8 with a remainder of 624.
The next digit of our result is 8. 
Result so far: 5978.0
Deduct 5432 from 6056 and we're left with 624.
Grab the next digit (0) from the dividend, add it to 624, then carry on: 6240 / 679

Going ahead to step 8:
The number 679 fits into 6240 9 times, leaving a remainder of 129.
Write down 9 as next digit of the result. 
Result so far: 59789.0
Deduct 6111 from 6240 and we're left with 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

Advancing to step 9:
If we divide 1290 by 679, we get 1 and a remainder of 611.
Use 1 as the next digit of our solution. 
Result so far: 59789.1
Subtract 679 from 1290 to get 611.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6110, and continue the process.

On to step 10:
679 can be fit into 6110 8 times, resulting in a remainder of 678.
The next digit of our result is 8. 
Result so far: 59789.18
If we take 5432 away from 6110, we end up with 678.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6780, and continue the process.

Going ahead to step 11:
If we divide 6780 by 679, we get 9 and a remainder of 669.
The next digit of our result is 9. 
Result so far: 59789.189
If we subtract 6111 from 6780, we get 669.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6690, and continue the process.

On to step 12:
The number 679 fits into 6690 9 times, leaving a remainder of 579.
Record the quotient 9 as the next digit in the result. 
Result so far: 59789.1899
If we subtract 6111 from 6690, we get 579.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5790, and continue the process.

In conclusion, the division gives 59789.1899 with a balance of 0.00579.