From f27fb9212a3f5e432af10ffed9348bd8c7259317 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 29 Oct 2019 14:38:47 +0100 Subject: [PATCH] eva: add page (#3490) --- pages/common/eva.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/eva.md diff --git a/pages/common/eva.md b/pages/common/eva.md new file mode 100644 index 000000000..5f028e662 --- /dev/null +++ b/pages/common/eva.md @@ -0,0 +1,20 @@ +# eva + +> Simple calculator REPL, similar to `bc`, with syntax highlighting and persistent history. +> More information . + +- Run the calculator in interactive mode: + +`eva` + +- Calculate the result of an expression: + +`eva "{{(1 + 2) * 2 ^ 2}}"` + +- Calculate an expression forcing the number of decimal places to 5: + +`eva --fix {{5}} "{{5 / 3}}"` + +- Calculate an expression with sine and cosine: + +`eva "{{sin(1) + cos(1)}}"`