Let's divide 40560247 by 659
Let's see how many times 659 fits into 40560247.

Advancing to step 1:
659 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 659

Let's proceed to step 2:
40 divided by 659 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (5) from the dividend and append it to 40, then repeat: 405 / 659

Step 3:
When dividing 405 by 659, we get 0 with a remainder of 405.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 405 leaves us with 405.
Include the next digit (6) from the dividend after 405, then repeat: 4056 / 659

On to step 4:
When dividing 4056 by 659, we get 6 with a remainder of 102.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we subtract 3954 from 4056, we get 102.
Bring next digit (0) of the dividend behind the 102 and repeat the process: 1020 / 659

Going ahead to step 5:
The number 659 fits into 1020 1 times, leaving a remainder of 361.
The number 1 becomes the next digit in our result. 
Result so far: 61.0
Subtract 659 from 1020 to get 361.
Grab the next digit (2) from the dividend, add it to 361, then carry on: 3612 / 659

Step 6:
3612 divided by 659 is 5 with a remainder of 317.
Put 5 as the next digit of the answer. 
Result so far: 615.0
If we take 3295 away from 3612, we end up with 317.
Bring next digit (4) of the dividend behind the 317 and repeat the process: 3174 / 659

Moving on to step 7:
The number 659 fits into 3174 4 times, leaving a remainder of 538.
Put 4 as the next digit of the answer. 
Result so far: 6154.0
If we subtract 2636 from 3174, we get 538.
Bring next digit (7) of the dividend behind the 538 and repeat the process: 5387 / 659

On to step 8:
659 goes into 5387 8 times with a remainder of 115.
Use 8 as the next digit of our solution. 
Result so far: 61548.0
If we take 5272 away from 5387, we end up with 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

On to step 9:
659 goes into 1150 1 times with a remainder of 491.
Write down 1 as next digit of the result. 
Result so far: 61548.1
Deduct 659 from 1150 and we're left with 491.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4910, and continue the process.

Advancing to step 10:
When dividing 4910 by 659, we get 7 with a remainder of 297.
Record the quotient 7 as the next digit in the result. 
Result so far: 61548.17
Subtract 4613 from 4910 to get 297.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2970, and continue the process.

Moving on to step 11:
If we divide 2970 by 659, we get 4 and a remainder of 334.
The next digit of our result is 4. 
Result so far: 61548.174
If we subtract 2636 from 2970, we get 334.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3340, and continue the process.

Advancing to step 12:
If we divide 3340 by 659, we get 5 and a remainder of 45.
The number 5 becomes the next digit in our result. 
Result so far: 61548.1745
If we take 3295 away from 3340, we end up with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Advancing to step 13:
450 divided by 659 is 0 with a remainder of 450.
The next digit of our result is 0. 
Result so far: 61548.1745
Deduct 0 from 450 and we're left with 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

Let's proceed to step 14:
When dividing 4500 by 659, we get 6 with a remainder of 546.
Write down 6 as next digit of the result. 
Result so far: 61548.174506
If we subtract 3954 from 4500, we get 546.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5460, and continue the process.

Moving on to step 15:
5460 divided by 659 is 8 with a remainder of 188.
The next digit of our result is 8. 
Result so far: 61548.1745068
The remainder is 188 after subtracting 5272 from 5460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1880, and continue the process.

Going ahead to step 16:
1880 divided by 659 is 2 with a remainder of 562.
Record the quotient 2 as the next digit in the result. 
Result so far: 61548.17450682
If we take 1318 away from 1880, we end up with 562.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5620, and continue the process.

The final result is 61548.17450682 with a remainder of 5.62e-07.