The SSRS Cos function is a Mathematical function that returns the trigonometric cosine value of the given angle. The syntax of the Cos function to return the cosine value of the numeric field is as shown below.
=Cos(90)
To demonstrate the Cos function in the Reporting Services, we use the Products table below, which has 14 records. The image shows the records in the table report; the result is in an empty column.
SSRS Cos function Example
To do this, right-click the textbox under the Result Header and choose the Expression to open the window below. The Cos function below finds the Cosine value of the Angle column in the Product table.
=Cos(Fields!Angle.Value)
Please click the preview tab to see the Cos report. Please use the Round function to adjust the decimal precisions.