We're dividing 25008797 by 664 
Let's see how many times 664 fits into 25008797.

Going ahead to step 1:
The number 664 fits into 2 0 times, leaving a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 664

Advancing to step 2:
664 goes into 25 0 times with a remainder of 25.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 25 leaves us with 25.
Include the next digit (0) from the dividend after 25, then repeat: 250 / 664

Advancing to step 3:
If we divide 250 by 664, we get 0 and a remainder of 250.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 250 leaves us with 250.
Bring next digit (0) of the dividend behind the 250 and repeat the process: 2500 / 664

Moving on to step 4:
2500 divided by 664 is 3 with a remainder of 508.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 1992 away from 2500, we end up with 508.
Include the next digit (8) from the dividend after 508, then repeat: 5088 / 664

Moving on to step 5:
664 can be fit into 5088 7 times, resulting in a remainder of 440.
The number 7 becomes the next digit in our result. 
Result so far: 37.0
Deduct 4648 from 5088 and we're left with 440.
Append the next digit (7) from the dividend to 440 and continue with: 4407 / 664

Step 6:
If we divide 4407 by 664, we get 6 and a remainder of 423.
The next digit of our result is 6. 
Result so far: 376.0
Subtract 3984 from 4407 to get 423.
Include the next digit (9) from the dividend after 423, then repeat: 4239 / 664

Moving on to step 7:
The number 664 fits into 4239 6 times, leaving a remainder of 255.
The next digit of our result is 6. 
Result so far: 3766.0
Subtracting 3984 from 4239 leaves us with 255.
Append the next digit (7) from the dividend to 255 and continue with: 2557 / 664

Moving on to step 8:
664 goes into 2557 3 times with a remainder of 565.
Record the quotient 3 as the next digit in the result. 
Result so far: 37663.0
The remainder is 565 after subtracting 1992 from 2557.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5650, and continue the process.

Going ahead to step 9:
664 goes into 5650 8 times with a remainder of 338.
Write down 8 as next digit of the result. 
Result so far: 37663.8
If we take 5312 away from 5650, we end up with 338.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3380, and continue the process.

Let's proceed to step 10:
When dividing 3380 by 664, we get 5 with a remainder of 60.
The number 5 becomes the next digit in our result. 
Result so far: 37663.85
If we subtract 3320 from 3380, we get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 11:
600 divided by 664 is 0 with a remainder of 600.
The next digit of our result is 0. 
Result so far: 37663.85
The remainder is 600 after subtracting 0 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Step 12:
664 goes into 6000 9 times with a remainder of 24.
The number 9 becomes the next digit in our result. 
Result so far: 37663.8509
If we subtract 5976 from 6000, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 13:
If we divide 240 by 664, we get 0 and a remainder of 240.
The number 0 becomes the next digit in our result. 
Result so far: 37663.8509
Subtract 0 from 240 to get 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Let's proceed to step 14:
When dividing 2400 by 664, we get 3 with a remainder of 408.
The next digit of our result is 3. 
Result so far: 37663.850903
If we subtract 1992 from 2400, we get 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:
When dividing 4080 by 664, we get 6 with a remainder of 96.
The number 6 becomes the next digit in our result. 
Result so far: 37663.8509036
Subtract 3984 from 4080 to get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Let's proceed to step 16:
960 divided by 664 is 1 with a remainder of 296.
Record the quotient 1 as the next digit in the result. 
Result so far: 37663.85090361
Deduct 664 from 960 and we're left with 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

In conclusion, the division gives 37663.85090361 with a balance of 2.96e-07.