Number.Cos is a Power Query M function that calculates the cosine of a given number. The function returns the cosine value of the input number.
Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365
Syntax
Number.Cos( number as nullable number ) as nullable number
Description
Returns the cosine of number
.
Examples
Find the cosine of the angle 0.
// Output: 1
Number.Cos( 0 )
Related functions
Other functions related to Number.Cos are:
- Number.Acos
- Number.Asin
- Number.Atan
- Number.Atan2
- Number.Cosh
- Number.Sin
- Number.Sinh
- Number.Tan
- Number.Tanh
