We divide 39782788 by 18
We want to divide 39782788 by 18.

Let's proceed to step 1:
When dividing 3 by 18, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 18

Step 2:
18 can be fit into 39 2 times, resulting in a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 36 from 39 and we're left with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 18

On to step 3:
If we divide 37 by 18, we get 2 and a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 22.0
The remainder is 1 after subtracting 36 from 37.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 18

On to step 4:
18 goes into 18 1 times with a remainder of 0.
The next digit of our result is 1. 
Result so far: 221.0
If we subtract 18 from 18, we get 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 18

Advancing to step 5:
18 can be fit into 2 0 times, resulting in a remainder of 2.
The next digit of our result is 0. 
Result so far: 2210.0
Subtract 0 from 2 to get 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 18

Moving on to step 6:
18 can be fit into 27 1 times, resulting in a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 22101.0
Subtracting 18 from 27 leaves us with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 18

Moving on to step 7:
If we divide 98 by 18, we get 5 and a remainder of 8.
Record the quotient 5 as the next digit in the result. 
Result so far: 221015.0
Subtracting 90 from 98 leaves us with 8.
Take the next digit (8) from the dividend and append it to 8, then repeat: 88 / 18

Going ahead to step 8:
18 can be fit into 88 4 times, resulting in a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 2210154.0
Subtracting 72 from 88 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 9:
The number 18 fits into 160 8 times, leaving a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 2210154.8
The remainder is 16 after subtracting 144 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 10:
If we divide 160 by 18, we get 8 and a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 2210154.88
Deduct 144 from 160 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

In conclusion, the division gives 2210154.88 with a balance of 0.016.