Number.Cos

Updated on

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 )

Other functions related to Number.Cos are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/number-cos