Skip to content

Commit

Permalink
Calque description
Browse files Browse the repository at this point in the history
  • Loading branch information
grimalschi committed May 8, 2019
1 parent e8837e9 commit 9050fae
Showing 1 changed file with 60 additions and 4 deletions.
64 changes: 60 additions & 4 deletions README.md
@@ -1,5 +1,61 @@
# calque
Improved calculator
<img src="logo.png" width="169px">

## TODO
- make saveable/loadable
Reactive calculator

## Expressions

```
2 inch to cm
cos(45 deg)
2 + 2 * 2
sqrt(3^2 + 4^2)
```

## Variables

```
a = 25
b = a * 2
postal code = 1122
```

## Summing lists

```
animals:
cats = 2
dogs = 3
plants:
trees = 20
vegetables:
potatoes = 10
carrots = 10
```

## Functions

```
pow2(x) = x ^ 2
pow2(6)
```

## Last result

```
2 * 2
last + 1
```

## Keys

Duplicate line or selection: Ctrl+D

Change selected number: Up/Down

Change selected number 10x: Shift+Up/Down

Change indent: Tab/Shift+Tab

## Using Math.js:

https://github.com/grimalschi/mathjs

0 comments on commit 9050fae

Please sign in to comment.