Skip to content

Commit 67a6778

Browse files
authored
Update _index.md
1 parent 5c1f593 commit 67a6778

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/addon/eval-extra/_index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,11 @@ amount: "FLOOR(SQRT(18))" # The amount will be the floor value of the square roo
7272
## Skip the Evaluation
7373
* If you want to skip your string from evaluation for some reason, put `[skip-eval]` before your string
7474
* Example: If you want to skip `1 + 1`, put `[skip-eval]` like this `[skip-eval] 1 + 1`
75+
76+
## Variable
77+
78+
You can evaluate an expression as a variable by using the variable `{eval_<expression>}`
79+
For example:
80+
* `{eval_1 + 2}`
81+
* `{eval_{level} * 100}`
82+
* `{eval_FLOOR(SQRT(18))`

0 commit comments

Comments
 (0)