Let's divide 40066995 by 654
Let's see how many times 654 fits into 40066995.

Let's proceed to step 1:
The number 654 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 654

Let's proceed to step 2:
The number 654 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Take the next digit (0) from the dividend and append it to 40, then repeat: 400 / 654

Advancing to step 3:
The number 654 fits into 400 0 times, leaving a remainder of 400.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 400 to get 400.
Take the next digit (6) from the dividend and append it to 400, then repeat: 4006 / 654

Moving on to step 4:
654 can be fit into 4006 6 times, resulting in a remainder of 82.
Put 6 as the next digit of the answer. 
Result so far: 6.0
The remainder is 82 after subtracting 3924 from 4006.
Include the next digit (6) from the dividend after 82, then repeat: 826 / 654

Going ahead to step 5:
826 divided by 654 is 1 with a remainder of 172.
The next digit of our result is 1. 
Result so far: 61.0
Subtracting 654 from 826 leaves us with 172.
Include the next digit (9) from the dividend after 172, then repeat: 1729 / 654

Moving on to step 6:
When dividing 1729 by 654, we get 2 with a remainder of 421.
Use 2 as the next digit of our solution. 
Result so far: 612.0
Deduct 1308 from 1729 and we're left with 421.
Take the next digit (9) from the dividend and append it to 421, then repeat: 4219 / 654

Moving on to step 7:
If we divide 4219 by 654, we get 6 and a remainder of 295.
Put 6 as the next digit of the answer. 
Result so far: 6126.0
Subtract 3924 from 4219 to get 295.
Take the next digit (5) from the dividend and append it to 295, then repeat: 2955 / 654

Let's proceed to step 8:
654 can be fit into 2955 4 times, resulting in a remainder of 339.
The number 4 becomes the next digit in our result. 
Result so far: 61264.0
The remainder is 339 after subtracting 2616 from 2955.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3390, and continue the process.

On to step 9:
654 goes into 3390 5 times with a remainder of 120.
Write down 5 as next digit of the result. 
Result so far: 61264.5
If we subtract 3270 from 3390, we get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Step 10:
1200 divided by 654 is 1 with a remainder of 546.
Record the quotient 1 as the next digit in the result. 
Result so far: 61264.51
If we take 654 away from 1200, we end up with 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 11:
654 goes into 5460 8 times with a remainder of 228.
Write down 8 as next digit of the result. 
Result so far: 61264.518
Deduct 5232 from 5460 and we're left with 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

On to step 12:
654 goes into 2280 3 times with a remainder of 318.
Record the quotient 3 as the next digit in the result. 
Result so far: 61264.5183
Subtract 1962 from 2280 to get 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

On to step 13:
When dividing 3180 by 654, we get 4 with a remainder of 564.
Use 4 as the next digit of our solution. 
Result so far: 61264.51834
Deduct 2616 from 3180 and we're left with 564.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5640, and continue the process.

Moving on to step 14:
If we divide 5640 by 654, we get 8 and a remainder of 408.
The number 8 becomes the next digit in our result. 
Result so far: 61264.518348
If we take 5232 away from 5640, we end up with 408.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

Let's proceed to step 15:
The number 654 fits into 4080 6 times, leaving a remainder of 156.
Write down 6 as next digit of the result. 
Result so far: 61264.5183486
Subtract 3924 from 4080 to get 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Moving on to step 16:
654 can be fit into 1560 2 times, resulting in a remainder of 252.
Use 2 as the next digit of our solution. 
Result so far: 61264.51834862
Subtracting 1308 from 1560 leaves us with 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

The final result is 61264.51834862 with a remainder of 2.52e-07.