cosine of angle or radiant()

This function returns the cosine of angle a.

Parameters


Parameter

Description

a

Angle in degrees or radians, see b.

b

"true", if a is in radians. "false", if a is in degrees. Default: "false".

Examples


Note: The data type on the field on which this function was used is"Double".


Parameter a

Parameter b

Result

180

false

-1.0

3

true

-0.9899924966004454