Operator * (Multiply)
Multiplies two numbers together
Usage
left_value * right_value
Parameters
left_value |
(Required) Value to multiply |
right_value |
(Required) Value to multiply by |
Examples
More information
Multiple operators can be used. The order of operation is the same as in mathematics:
- content of parentheses is evaluated first
- then exponents are evaluated, from right to left
- then multiplication and division are evaluated, from left to right
- the remaining operators are then applied from left to right
Reminders
A text containing digits is not handled as a number. To have an actual number:
- use the
@NUMBER_QUESTION
to set the variable - write a numeric value directly in the code without quotes, ex:
age >= 18
- use a function which converts to a number:
NUMBER(text_containing_numbers)
- use a function which returns a number:
FIND("world", "hello everybody")