We're dividing 40478665 by 635 
We want to divide 40478665 by 635.

Step 1:
If we divide 4 by 635, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 635

Going ahead to step 2:
635 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Bring next digit (4) of the dividend behind the 40 and repeat the process: 404 / 635

Let's proceed to step 3:
404 divided by 635 is 0 with 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 (7) from the dividend, attach it to 404 and continue: 4047 / 635

Advancing to step 4:
The number 635 fits into 4047 6 times, leaving a remainder of 237.
Use 6 as the next digit of our solution. 
Result so far: 6.0
The remainder is 237 after subtracting 3810 from 4047.
Take the next digit (8) from the dividend and append it to 237, then repeat: 2378 / 635

Going ahead to step 5:
2378 divided by 635 is 3 with a remainder of 473.
Write down 3 as next digit of the result. 
Result so far: 63.0
Subtracting 1905 from 2378 leaves us with 473.
Grab the next digit (6) from the dividend, add it to 473, then carry on: 4736 / 635

Step 6:
635 goes into 4736 7 times with a remainder of 291.
The next digit of our result is 7. 
Result so far: 637.0
The remainder is 291 after subtracting 4445 from 4736.
Bring next digit (6) of the dividend behind the 291 and repeat the process: 2916 / 635

On to step 7:
If we divide 2916 by 635, we get 4 and a remainder of 376.
Write down 4 as next digit of the result. 
Result so far: 6374.0
If we subtract 2540 from 2916, we get 376.
Fetch the next digit (5) from the dividend, attach it to 376 and continue: 3765 / 635

Advancing to step 8:
3765 divided by 635 is 5 with a remainder of 590.
Put 5 as the next digit of the answer. 
Result so far: 63745.0
Deduct 3175 from 3765 and we're left with 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Step 9:
5900 divided by 635 is 9 with a remainder of 185.
The next digit of our result is 9. 
Result so far: 63745.9
Subtracting 5715 from 5900 leaves us with 185.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1850, and continue the process.

On to step 10:
The number 635 fits into 1850 2 times, leaving a remainder of 580.
Put 2 as the next digit of the answer. 
Result so far: 63745.92
If we take 1270 away from 1850, we end up with 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

Going ahead to step 11:
When dividing 5800 by 635, we get 9 with a remainder of 85.
Put 9 as the next digit of the answer. 
Result so far: 63745.929
If we take 5715 away from 5800, we end up with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Going ahead to step 12:
635 can be fit into 850 1 times, resulting in a remainder of 215.
Write down 1 as next digit of the result. 
Result so far: 63745.9291
Subtracting 635 from 850 leaves us with 215.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

On to step 13:
2150 divided by 635 is 3 with a remainder of 245.
Use 3 as the next digit of our solution. 
Result so far: 63745.92913
If we take 1905 away from 2150, we end up with 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Step 14:
If we divide 2450 by 635, we get 3 and a remainder of 545.
Write down 3 as next digit of the result. 
Result so far: 63745.929133
Subtract 1905 from 2450 to get 545.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5450, and continue the process.

After the division, we end up with 63745.929133 and a remainder of 5.45e-05.