We divide 59876 by 40
Let's see how many times 40 fits into 59876.

On to step 1:
The number 40 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 40

Going ahead to step 2:
40 goes into 59 1 times with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 40 from 59 and we're left with 19.
Take the next digit (8) from the dividend and append it to 19, then repeat: 198 / 40

Moving on to step 3:
40 goes into 198 4 times with a remainder of 38.
Put 4 as the next digit of the answer. 
Result so far: 14.0
Subtracting 160 from 198 leaves us with 38.
Include the next digit (7) from the dividend after 38, then repeat: 387 / 40

Step 4:
When dividing 387 by 40, we get 9 with a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 149.0
The remainder is 27 after subtracting 360 from 387.
Grab the next digit (6) from the dividend, add it to 27, then carry on: 276 / 40

Moving on to step 5:
If we divide 276 by 40, we get 6 and a remainder of 36.
Put 6 as the next digit of the answer. 
Result so far: 1496.0
If we subtract 240 from 276, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 6:
40 can be fit into 360 9 times, resulting in a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 1496.9
Subtracting 360 from 360 leaves us 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.

Step 7:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 1496.9
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.

Step 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 1496.9
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.

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