We're dividing 40178820 by 699 
We want to figure out the number of times 40178820 can be divided by 699.

Let's proceed to step 1:
If we divide 4 by 699, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 699

Going ahead to step 2:
699 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Append the next digit (1) from the dividend to 40 and continue with: 401 / 699

Let's proceed to step 3:
When dividing 401 by 699, we get 0 with a remainder of 401.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 401 leaves us with 401.
Grab the next digit (7) from the dividend, add it to 401, then carry on: 4017 / 699

Going ahead to step 4:
4017 divided by 699 is 5 with a remainder of 522.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 3495 from 4017 to get 522.
Bring next digit (8) of the dividend behind the 522 and repeat the process: 5228 / 699

Going ahead to step 5:
699 can be fit into 5228 7 times, resulting in a remainder of 335.
The number 7 becomes the next digit in our result. 
Result so far: 57.0
If we take 4893 away from 5228, we end up with 335.
Take the next digit (8) from the dividend and append it to 335, then repeat: 3358 / 699

Let's proceed to step 6:
The number 699 fits into 3358 4 times, leaving a remainder of 562.
Record the quotient 4 as the next digit in the result. 
Result so far: 574.0
If we subtract 2796 from 3358, we get 562.
Append the next digit (2) from the dividend to 562 and continue with: 5622 / 699

Advancing to step 7:
The number 699 fits into 5622 8 times, leaving a remainder of 30.
Write down 8 as next digit of the result. 
Result so far: 5748.0
Deduct 5592 from 5622 and we're left with 30.
Bring next digit (0) of the dividend behind the 30 and repeat the process: 300 / 699

Going ahead to step 8:
If we divide 300 by 699, we get 0 and a remainder of 300.
The next digit of our result is 0. 
Result so far: 57480.0
Subtracting 0 from 300 leaves us with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

On to step 9:
699 can be fit into 3000 4 times, resulting in a remainder of 204.
Put 4 as the next digit of the answer. 
Result so far: 57480.4
The remainder is 204 after subtracting 2796 from 3000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

On to step 10:
2040 divided by 699 is 2 with a remainder of 642.
Use 2 as the next digit of our solution. 
Result so far: 57480.42
Deduct 1398 from 2040 and we're left with 642.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6420, and continue the process.

Going ahead to step 11:
699 goes into 6420 9 times with a remainder of 129.
Use 9 as the next digit of our solution. 
Result so far: 57480.429
The remainder is 129 after subtracting 6291 from 6420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

Going ahead to step 12:
699 goes into 1290 1 times with a remainder of 591.
Record the quotient 1 as the next digit in the result. 
Result so far: 57480.4291
Subtract 699 from 1290 to get 591.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5910, and continue the process.

On to step 13:
699 can be fit into 5910 8 times, resulting in a remainder of 318.
The next digit of our result is 8. 
Result so far: 57480.42918
The remainder is 318 after subtracting 5592 from 5910.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

Advancing to step 14:
699 goes into 3180 4 times with a remainder of 384.
Use 4 as the next digit of our solution. 
Result so far: 57480.429184
Subtracting 2796 from 3180 leaves us with 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Advancing to step 15:
If we divide 3840 by 699, we get 5 and a remainder of 345.
The next digit of our result is 5. 
Result so far: 57480.4291845
The remainder is 345 after subtracting 3495 from 3840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

Advancing to step 16:
When dividing 3450 by 699, we get 4 with a remainder of 654.
The next digit of our result is 4. 
Result so far: 57480.42918454
If we subtract 2796 from 3450, we get 654.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6540, and continue the process.

The final outcome is 57480.42918454, with a leftover of 6.54e-07.