Menu

#133 Calculate feature crashes when dividing by 0.XXX

open
nobody
None
5
2007-12-01
2007-12-01
Anonymous
No

I often use the Launchy calculator feature, however it is impossible to enter any number into a division that is between 1 and -1.

For example type in '1/0.1' and launchy will crash when you enter the zero.

I'm pretty certain this is because Launchy updates the calculation on the fly as you enter the numbers. It reaches the zero and caused a divide by zero error.

The fix would be to check for the zero and delay the update until the next non-zero, non-decimal point character is entered.

Brendan Arnold

Discussion


Log in to post a comment.