Core: Floor and ceil in datastorage (#2448)

This commit is contained in:
Ishigh1
2023-11-24 17:42:22 +01:00
committed by GitHub
parent d892622ab1
commit 530e792c3c
2 changed files with 13 additions and 6 deletions

View File

@@ -415,6 +415,8 @@ The following operations can be applied to a datastorage key
| mul | Multiplies the current value of the key by `value`. |
| pow | Multiplies the current value of the key to the power of `value`. |
| mod | Sets the current value of the key to the remainder after division by `value`. |
| floor | Floors the current value (`value` is ignored). |
| ceil | Ceils the current value (`value` is ignored). |
| max | Sets the current value of the key to `value` if `value` is bigger. |
| min | Sets the current value of the key to `value` if `value` is lower. |
| and | Applies a bitwise AND to the current value of the key with `value`. |