Table of contents
TOC
Collapse the table of content
Expand the table of content

COS Function (DAX)

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

Returns the cosine of the given angle.

Syntax

COS(number)  

Parameters

TermDefinition
numberRequired. The angle in radians for which you want the cosine.

Return Value

Returns the cosine of the given angle.

Remarks

If the angle is in degrees, either multiply the angle by PI()/180 or use the RADIANS function to convert the angle to radians.

Example

FormulaDescriptionResult
=COS(1.047)Cosine of 1.047 radians0.5001711
=COS(60*PI()/180)Cosine of 60 degrees0.5
=COS(RADIANS(60))Cosine of 60 degrees0.5
© 2018 Microsoft