Calculate feature crashes when dividing by 0.XXX
Application launcher for Windows, Mac OS X, FreeBSD and Linux
Brought to you by:
karlinjf
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