Skip to content

Programmer Calculator v2.0

Compare
Choose a tag to compare
@alt-romes alt-romes released this 10 Feb 16:37
· 95 commits to master since this release
076a379

This is a big update! This release:

Adds expressions with priorities (2+2*3 now equals 8)

Adds parenthesis for grouping expressions ((2+2)*3 works and is now equal to 12`)

Adds ability to navigate input left and right to edit

Adds negative numbers ((-1) is now a valid input, and so is 2+(-1) or even 2+-1)

  • however, note if a - is the first character of the input, it's assumed to be a subtraction from the current amount. (If the current value is 5 and you input -1 the result will be 4)

Fixes other bugs :)