Adams Basic Package
>
Adams View
>
View Function Builder
>
Design-Time Functions
>
Functions: T - Z
> VAL
VAL
Returns an array element nearest the number you specified.
Format
VAL (A, X)
Arguments
A
An array.
X
A real number.
Example
The following example illustrates the use of the VAL function:
Function
VAL({2,0,3}, 2.2)
Result
2
Learn more about matrix/array functions
.
This site works best with JavaScript enabled