/alfred-basecalc

A programmers calculator for alfred 3

Primary LanguageLua

basecalc

A programmers calculator for Alfred

Evaluates a Lua (v5.4) numeric expression and displays the result in the four main bases. Everything from the Lua math library is available, and in addition log10() and e

In addition to decimal (42) and hexadecimal (0x2a), binary (0b101010) and octal (0o52) notation is available. Uses '=' as the trigger keyword. Make sure to disable '=' for the built in calculator in Alfred Preferences/Features/Calculator.

Requires: Lua version 5.4

brew install lua

screenshot

Rational numbers are shown as nearest fraction too

rationals

Initial placeholder hint

placeholder