What's wrong with my Calculator? (Fixed)

General discussions about LaunchBar
Post Reply
ludwigschubert
Rank 4
Rank 4
Posts: 285
Joined: Fri Jun 29, 2007 5:54 pm
Location: Germany, Bavaria

What's wrong with my Calculator? (Fixed)

Post by ludwigschubert » Sun Dec 09, 2007 9:23 pm

Hi,
today I got an interesting result:

5,89 + 7,09 = 12

on the other hand
5.89 + 7.09 = 12.98
… as one would expect ;-)

BUT:

'Easy' Stuff like 1,5 + 1,5 works (=3) whereas 1,7+1,2 = 2… :shock:

I know that's no real bug because I can't reproduce it on other Macs.
Well, apart from reinstalling - has anybody encountered that before or knows any help?
Running on a german system where 1,7 would be the 'normal' format.

greetings,
Ludwig

UPDATE: the Bug is fixed now. (See below)
Last edited by ludwigschubert on Wed Dec 19, 2007 4:37 pm, edited 3 times in total.

rjr

similar calculator woes

Post by rjr » Sun Dec 09, 2007 10:01 pm

I've experienced similar problems with the calculator, only with scientific notation. If I try:

1e-8 * 2 = 1.999978849e-08

I was unable to reproduce your errors, ludwig. Does anyone have any further information, insights or suggestions?

ludwigschubert
Rank 4
Rank 4
Posts: 285
Joined: Fri Jun 29, 2007 5:54 pm
Location: Germany, Bavaria

Post by ludwigschubert » Sun Dec 09, 2007 11:13 pm

Yeah, I know that one, too.
Up to e-3 it works fine, but e-4 and smaller results in rounding errors.

Always amazes me to see a calculator return a wrong result, I've grown so used to them :D

Ludwig

Guest

Post by Guest » Sun Dec 09, 2007 11:30 pm

This is just a shot in the dark, but could it have something to do with the numeric format preferences under the International System Preferences pane?

ludwigschubert
Rank 4
Rank 4
Posts: 285
Joined: Fri Jun 29, 2007 5:54 pm
Location: Germany, Bavaria

Post by ludwigschubert » Sun Dec 09, 2007 11:51 pm

Thanks for your idea, Gast!
Unfortunately it didn't change anything for me.

I also don't think it should change anything,
as LaunchBar supposedly 'intelligently' recognizes which format you want to use. 8)
Regardless; 1,2 + 1,7 should be 2,900 in U.S format, shouldn't it?

Guess I'll file a bug report *sigh*

Thank you, everyone, :D
Ludwig

veke
Rank 2
Rank 2
Posts: 49
Joined: Mon Nov 06, 2006 11:30 am

Post by veke » Mon Dec 10, 2007 12:34 am

I'd just like to second that I get the exakt same results! Wow... I wonder if that has played tricks on me at work where I rely on the LB calculator for calculations? I hardy ever use + or - with decimals there though and * still works as far as I can tell. Thanks for pointing this out and hope there can be a fix ASAP. I'm on Swedish 10.5.1 with LB 4.3.3. System set to English with Swedish formats.

FredB
Rank 2
Rank 2
Posts: 69
Joined: Sun Dec 31, 2006 8:19 am
Location: Liège, Belgium
Contact:

Post by FredB » Mon Dec 10, 2007 2:05 am

It was working fine in 4.3.2, it's broken now.

norbert
Objective Development
Objective Development
Posts: 648
Joined: Thu Nov 09, 2006 6:30 pm

Post by norbert » Mon Dec 10, 2007 12:45 pm

It's a bug in LaunchBar 4.3.3. It happens when a comma is used as the decimal separator.

We'll try to fix it ASAP.

norbert
Objective Development
Objective Development
Posts: 648
Joined: Thu Nov 09, 2006 6:30 pm

Post by norbert » Wed Dec 19, 2007 2:39 pm

This issue has now been fixed in the latest nightly build of LaunchBar. It can be downloaded from:

http://www.obdev.at/launchbar/nightly.html

Guest

Post by Guest » Wed Dec 19, 2007 3:06 pm

Thank you, works great now.

Post Reply