Let's divide 39840 by 16
Our goal is to divide 39840 by 16.

On to step 1:
The number 16 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 16

Moving on to step 2:
39 divided by 16 is 2 with a remainder of 7.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 32 from 39 and we're left with 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 16

Step 3:
16 can be fit into 78 4 times, resulting in a remainder of 14.
The next digit of our result is 4. 
Result so far: 24.0
The remainder is 14 after subtracting 64 from 78.
Fetch the next digit (4) from the dividend, attach it to 14 and continue: 144 / 16

Going ahead to step 4:
When dividing 144 by 16, we get 9 with a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 249.0
If we take 144 away from 144, we end up with 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 16

Step 5:
When dividing 0 by 16, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 2490.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 6:
When dividing 0 by 16, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 2490.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
The number 16 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 2490.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 2490.0, with a leftover of 0.0.