We look at the division of 8040 by 3 
Let's see how many times 3 fits into 8040.

On to step 1:
3 can be fit into 8 2 times, resulting in a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 2 after subtracting 6 from 8.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 3

Going ahead to step 2:
3 can be fit into 20 6 times, resulting in a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 26.0
If we subtract 18 from 20, we get 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 3

Step 3:
When dividing 24 by 3, we get 8 with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 268.0
If we take 24 away from 24, we end up with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 3

Let's proceed to step 4:
The number 3 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 2680.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 5:
When dividing 0 by 3, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 2680.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.

Going ahead to step 6:
3 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 2680.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.

In conclusion, the division gives 2680.0 with a balance of 0.0.