mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
multiply and add filters documented (#32535)
This commit is contained in:
parent
40fc996d0c
commit
e588afc247
@ -1067,6 +1067,8 @@ The numeric functions and filters raise an error if the input is not a valid num
|
||||
- Filter `value_one|bitwise_or(value_two)` perform a bitwise or(\|) operation with two values.
|
||||
- Filter `value_one|bitwise_xor(value_two)` perform a bitwise xor(\^) operation with two values.
|
||||
- Filter `ord` will return for a string of length one an integer representing the Unicode code point of the character when the argument is a Unicode object, or the value of the byte when the argument is an 8-bit string.
|
||||
- Filter `multiply(arg)` will convert the input to a number and multiply it by `arg`. Useful in list operations in conjunction with `map`.
|
||||
- Filter `add(arg)` will convert the input to a number and add it to `arg`. Useful in list operations in conjunction with `map`.
|
||||
|
||||
### Complex type checking
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user