[SysVar] Add %c_random%(L,H) system variable

As requested on the [forum](https://www.letscontrolit.com/forum/viewtopic.php?p=73835#p73835)
This commit is contained in:
TD-er
2025-04-29 12:39:07 +02:00
parent a32609c2d2
commit aa64bc5cdd
8 changed files with 33 additions and 2 deletions
+3
View File
@@ -362,6 +362,9 @@ The conversion always outputs a string, but not all of these can be converted ba
* - Secs to dhms: ``%c_s2dhms%(100000)``
- Secs to dhms: ``1d03:46:40``
- Seconds to days/hours/minutes/seconds notation
* - Random(L,H): ``%c_random%(0, 1)``
- Random(L,H): ``0.123``
- Generate random number in the given range L ... H (Added: 2025/04/29)
* - To HEX: ``%c_2hex%(100000)``
- To HEX: ``186A0``
- Convert integer value to HEX notation. (Added: 2020/10/07)