Function sin() calculates the sine value of a radian.
Arguments:
Returns:
Example: Calculate the sine value of degree 30°
UQLreturn sin(30 * pi() / 180)
Result0.5
Example: Calculate the sine value of each row (radian) of an alias
UQLuncollect [1, 2.5, 3] as a return sin(a)
Result0.841470984807897 0.598472144103957 0.141120008059867