mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-27 03:17:45 +01:00
Update Placeholders.md
This commit is contained in:
parent
562f6a852d
commit
a163c72e93
@ -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).
|
||||
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_[precision]:[rounding]_<expression>%
|
||||
```
|
||||
----
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user