/ (division)
The division operator (/) returns the result of
dividing the first argument by the second.
Syntax
X/Y
Input
| Argument | Type | Description |
|---|---|---|
X |
any numeric type | A scalar expression or column expression |
Y |
any numeric type | A scalar expression or column expression |
Return Value
Returns a numerical value corresponding to the result of dividing X by
Y.
The data type of the result is decimal.
If you enter two integers for X/Y, macro language will interpret this as a
date in the form MM/YY and return either an incorrect value or an error.
For example, the following code returns an error:
<willbe name="test" value="19/45"/>
Simply add parentheses around the value, as
follows:
<willbe name="test" value="(19/45)"/>If X and/or Y is N/A, the result is N/A.
