Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ondrejspanel/formulafx
Expression (line based) calculator
https://github.com/ondrejspanel/formulafx
Last synced: 23 days ago
JSON representation
Expression (line based) calculator
- Host: GitHub
- URL: https://github.com/ondrejspanel/formulafx
- Owner: OndrejSpanel
- License: gpl-2.0
- Created: 2016-03-26T22:31:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T14:55:46.000Z (about 2 months ago)
- Last Synced: 2024-09-16T17:09:49.525Z (about 2 months ago)
- Language: Scala
- Size: 303 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# FormulaFX
Expression (line based) calculatorOnline version at [FormulaFX live](https://ondrejspanel.github.io/FormulaFX)
Number format:
----- floating point `123.456`, `123.456e78`
- hexadecimal `0x123456`
- minutes:seconds or hours:minutes `12:34.56`
- hours:minutes:seconds `12:34:56.78`
- percent `123.45%`When hexadecimal or other special notation is used in the expression, the result is displayed using the same notation if possible.
Supported operators:
----- `^`
- `*` `/`
- `+` `-`Supported functions:
----- `exp`
- `ln`
- `sin`, `cos`, `tan`
- `asin`, `acos`, `atan`
- `sqrt`
- `log`
- `floor`, `ceil`, `round`
- `signum`
- `abs`
- `sinh`, `cosh`, `tanh`
- `hex`Variables
----It is possible to define variables. Variable to be defined may be written in any position in the equation, like:
- `a = 458`
- `458 = a`
- `a * 5 = 25`
- `sin(a) = 0.5`There can be at most one undefined variable used in the equation. If there is no undefined variable, the leftmost variable
is considered to be undefined. The undefined variable may have only one occurence.