Skip to content

Commit a52dbbf

Browse files
committed
Support for double equality symbol (==)
1 parent b4eaa4b commit a52dbbf

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Although the main development goal of the class was the integration with [CSV In
1313
* __Easy to use and integrate__.
1414
* __Basic math operators__: `+` `-` `*` `/` `\` `^` `!`
1515
* __Logical expressions__: `&` (AND), `|` (OR), `||` (XOR)
16-
* __Binary relations__: `<`, `<=`, `<>`, `>=`, `=`, `>`, `$` (LIKE)
16+
* __Binary relations__: `<`, `<=`, `<>`, `>=`, `=`, `==`, `>`, `$` (LIKE)
1717
* __Outstanding matrix and statistical functions__: `CHOLESKY`, `MLR` (Multivariate Linear Regression), `FIT` (Curve fitting), `INVERSE`, and a lot more!
1818
* __More than 100 built-in functions__: `Max`, `Sin`, `IRR`, `GAUSS`, `LSQRSOLVE`, `Switch`, `Iff`, `DateDiff`, `Solve`, `fZero`, `Format`...
1919
* __Very flexible and powerful__: variables, constants and user-defined functions (UDFs) support.
@@ -56,16 +56,16 @@ Function = "abs" | "sin" | "cos" | "min" |...|[UDF]
5656
## Operators precedence
5757
VBA expressions uses the following precedence rules to evaluate mathematical expressions:
5858

59-
1. `()` Grouping: evaluates functions arguments as well.
60-
2. `! - +` Unary operators: exponentiation is the only operation that violates this. Ex.: `-2 ^ 2 = -4 | (-2) ^ 2 = 4`.
61-
3. `^` Exponentiation: Although Excel and Matlab evaluate nested exponentiations from left to right, Google, mathematicians and several modern programming languages, such as Perl, Python and Ruby, evaluate this operation from right to left. VBA expressions also evals in Python way: a^b^c = a^(b^c).
62-
4. `\* / % ` Multiplication, division, modulo: from left to right.
63-
5. `+ -` Addition and subtraction: from left to right.
64-
6. `< <= <> >= = > $` Binary relations.
65-
7. `~` Logical negation.
66-
8. `&` Logical AND.
67-
9. `||` Logical XOR.
68-
10. `|` Logical OR.
59+
1. `()` Grouping: evaluates functions arguments as well.
60+
2. `! - +` Unary operators: exponentiation is the only operation that violates this. Ex.: `-2 ^ 2 = -4 | (-2) ^ 2 = 4`.
61+
3. `^` Exponentiation: Although Excel and Matlab evaluate nested exponentiations from left to right, Google, mathematicians and several modern programming languages, such as Perl, Python and Ruby, evaluate this operation from right to left. VBA expressions also evals in Python way: a^b^c = a^(b^c).
62+
4. `\* / % ` Multiplication, division, modulo: from left to right.
63+
5. `+ -` Addition and subtraction: from left to right.
64+
6. `< <= <> >= = == > $` Binary relations.
65+
7. `~` Logical negation.
66+
8. `&` Logical AND.
67+
9. `||` Logical XOR.
68+
10. `|` Logical OR.
6969

7070
## Variables
7171
Users can enter variables and set/assign their values for the calculations. Variable names must meet the following requirements:

0 commit comments

Comments
 (0)