42797985 divided by 117 
We're looking to find how many times 117 goes into 42797985.

Let's proceed to step 1:
If we divide 4 by 117, 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.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 117

On to step 2:
When dividing 42 by 117, we get 0 with a remainder of 42.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 42, we get 42.
Take the next digit (7) from the dividend and append it to 42, then repeat: 427 / 117

Moving on to step 3:
If we divide 427 by 117, we get 3 and a remainder of 76.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 351 from 427, we get 76.
Include the next digit (9) from the dividend after 76, then repeat: 769 / 117

Let's proceed to step 4:
117 can be fit into 769 6 times, resulting in a remainder of 67.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
Subtracting 702 from 769 leaves us with 67.
Bring next digit (7) of the dividend behind the 67 and repeat the process: 677 / 117

Moving on to step 5:
117 goes into 677 5 times with a remainder of 92.
Put 5 as the next digit of the answer. 
Result so far: 365.0
If we take 585 away from 677, we end up with 92.
Bring next digit (9) of the dividend behind the 92 and repeat the process: 929 / 117

Let's proceed to step 6:
117 goes into 929 7 times with a remainder of 110.
Write down 7 as next digit of the result. 
Result so far: 3657.0
If we subtract 819 from 929, we get 110.
Fetch the next digit (8) from the dividend, attach it to 110 and continue: 1108 / 117

Step 7:
117 can be fit into 1108 9 times, resulting in a remainder of 55.
The next digit of our result is 9. 
Result so far: 36579.0
If we take 1053 away from 1108, we end up with 55.
Take the next digit (5) from the dividend and append it to 55, then repeat: 555 / 117

Step 8:
117 can be fit into 555 4 times, resulting in a remainder of 87.
Write down 4 as next digit of the result. 
Result so far: 365794.0
Subtract 468 from 555 to get 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Advancing to step 9:
If we divide 870 by 117, we get 7 and a remainder of 51.
Put 7 as the next digit of the answer. 
Result so far: 365794.7
Subtracting 819 from 870 leaves us with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Moving on to step 10:
117 goes into 510 4 times with a remainder of 42.
Write down 4 as next digit of the result. 
Result so far: 365794.74
The remainder is 42 after subtracting 468 from 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 11:
If we divide 420 by 117, we get 3 and a remainder of 69.
Put 3 as the next digit of the answer. 
Result so far: 365794.743
Deduct 351 from 420 and we're left with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Let's proceed to step 12:
690 divided by 117 is 5 with a remainder of 105.
Write down 5 as next digit of the result. 
Result so far: 365794.7435
Subtract 585 from 690 to get 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Let's proceed to step 13:
The number 117 fits into 1050 8 times, leaving a remainder of 114.
Put 8 as the next digit of the answer. 
Result so far: 365794.74358
Subtract 936 from 1050 to get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Moving on to step 14:
If we divide 1140 by 117, we get 9 and a remainder of 87.
Put 9 as the next digit of the answer. 
Result so far: 365794.743589
Deduct 1053 from 1140 and we're left with 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Moving on to step 15:
870 divided by 117 is 7 with a remainder of 51.
Use 7 as the next digit of our solution. 
Result so far: 365794.7435897
Subtracting 819 from 870 leaves us with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

On to step 16:
117 can be fit into 510 4 times, resulting in a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 365794.74358974
If we take 468 away from 510, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

In conclusion, the division gives 365794.74358974 with a balance of 4.2e-08.