Calculator operators.

General discussions about LaunchBar
Post Reply
bbhack
Posts: 1
Joined: Wed Dec 31, 2008 6:34 pm

Calculator operators.

Post by bbhack » Wed Dec 31, 2008 6:49 pm

I have looked (here and in the help documents) but can't seem to find a complete list of operators recognized by LaunchBar's calculator. In particular, I'm interested in modulus and integer division. I've tried the usual modulus operators (%, mod) and // for integer division but these don't appear to work. Is there an operator list available?

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

Post by ludwigschubert » Wed Dec 31, 2008 8:06 pm

In theory I think % should work. On LaunchBar's front page there is also a mention of a rem command (remainder), but I couldn't get it to work.

You can read about bc here.

But in General, it seems that the calculator isn't yet fully implemented.
The % operator can be entered, but it is always evaluates to zero :shock:

regards,
Ludwig[/b]

jsmarshall
Posts: 1
Joined: Wed Mar 02, 2011 7:33 am

Re: Calculator operators.

Post by jsmarshall » Wed Mar 02, 2011 7:35 am

This post is quite old but worth mentioning that rem(x|y) will give the expected result of % or mod.

Post Reply