Help: Non-zero floating point numbers are true in if() expressions

Fixes: #22991
This commit is contained in:
Craig Scott
2022-01-04 08:45:23 +11:00
parent 5c09fe0283
commit 6b170578b8
+2 -1
View File
@@ -52,7 +52,8 @@ Basic Expressions
``if(<constant>)``
True if the constant is ``1``, ``ON``, ``YES``, ``TRUE``, ``Y``,
or a non-zero number. False if the constant is ``0``, ``OFF``,
or a non-zero number (including floating point numbers).
False if the constant is ``0``, ``OFF``,
``NO``, ``FALSE``, ``N``, ``IGNORE``, ``NOTFOUND``, the empty string,
or ends in the suffix ``-NOTFOUND``. Named boolean constants are
case-insensitive. If the argument is not one of these specific