1.2 KiB
1.2 KiB
Expr
Table of Contents
1. Expr
Expr is a GO package capable of analysing, interpreting and calculating expressions.
1.1. Data types
Expr supports numerical, string, relational, and boolean expressions.
1.1.1. Numbers
Numbers can be integers (GO int64) and float (GO float64). In mixed operations involving integers and floats, integers are automatically promoted to floats.
Symbol | Operation | Description | Examples |
---|---|---|---|
|
change sign |
Change the sign of values |
|
|
sum |
Add two values |
|
|
subtracion |
Subtract the right value from the left one |
|
|
product |
Multiply two values |
|