Page 1 of 1

Mod() arithmetic?

Posted: Mon Apr 10, 2017 7:53 pm
by Kirby Krieger
When using LaunchBar's built-in calculator, typing "mod" brings up the function "mod()", which looks just like what I want: modular arithmetic (input two integers, outputs the remainder after dividing). But I haven't stumbled on the secret syntax. How can I make this work?

Re: Mod() arithmetic?

Posted: Mon Apr 10, 2017 8:01 pm
by Kirby Krieger
:) Found it. Need a pipe character between the goober and the weevil:

mod(31|11) = 9

I could not find this function in the Help. There is a list of _shortcuts_ for functions, but no list of functions (that I could find).

Re: Mod() arithmetic?

Posted: Tue Apr 11, 2017 12:04 pm
by mot
Thanks for sharing.