diff options
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r-- | src/core/wee-command.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index e4983cad7..7ddb0f3b3 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -7251,10 +7251,13 @@ command_init () "\n" "An expression is considered as \"true\" if it is not NULL, not " "empty, and different from \"0\".\n" - "The comparison is made using integers if the two expressions are " - "valid integers.\n" - "To force a string comparison, add double quotes around each " - "expression, for example:\n" + "The comparison is made using floating point numbers if the two " + "expressions are valid numbers, with one of the following formats:\n" + " - integer (examples: 5, -7)\n" + " - floating point number (examples: 5.2, -7.5, 2.83e-2)\n" + " - hexadecimal number (examples: 0xA3, -0xA3)\n" + "To force a string comparison, you can add double quotes around " + "each expression, for example:\n" " 50 > 100 ==> 0\n" " \"50\" > \"100\" ==> 1\n" "\n" |