Update Placeholders.md

This commit is contained in:
Andre_601 2021-02-04 18:09:44 +01:00 committed by GitHub
parent 562f6a852d
commit a163c72e93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -528,10 +528,9 @@ Placeholders are supported (You have to use `{}` instead of `%`).
Supports all calculations you can do with [EvalEx](https://github.com/uklimaschewski/EvalEx). Supports all calculations you can do with [EvalEx](https://github.com/uklimaschewski/EvalEx).
Note that the `%` can't be used within the placeholder and that you have to to use `[prc]` instead. Note that the `%` can't be used within the placeholder and that you have to to use `[prc]` instead.
You can use `[precision:<number>]` in the placeholder, to set how many decimal points are returned (e.g. `1.345` with `[precision:2]` returns `1.35`)
``` ```
%math_<math expression>% %math_<math expression>%
%math_[precision]:[rounding]_<expression>%
``` ```
---- ----