Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Calc App

This is a go/golang port of the very useful Calc.app using fyne and govaluate.

Usage

Download from releases, run, enter help to get some help. It is not signed, google for "open unsigned mac/win".

For syntax, see https://github.com/Knetic/govaluate/blob/master/MANUAL.md with the following modifications:

  • ^ is converted to ** (power)
  • 1.3e-3 etc is converted to float64
  • You can assign variables a=1+3 (if you don't, the result is assigned to r<number>), and use them a*2
  • There is currently one setting, the output number format for calculations. It can be changed by entering e.g. !outformat=%.8e. See https://pkg.go.dev/fmt for syntax.

float64 is used for calculations, here is 1+1e-19-1 == 0.

Screenshot

screenshot

Build

See .github/workflows/go.yml.

Uses

About

Go Calc App

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages