alt - script and chart function
The alt function returns the first of the parameters that has a valid number representation. If no such match is found, the last parameter will be returned. Any number of parameters can be used.
Syntax:
alt(expr1[ , expr2 , expr3 , ...] , else)
Arguments:
Argument | Description |
---|---|
|
The first expression to check for a valid number representation. |
|
The second expression to check for a valid number representation. |
|
The third expression to check for a valid number representation. |
|
Value to return if none of the previous parameters has a valid number representation. |
The