cos

cos

This topic describes the syntax and usage of the cos function in Zoho Creator .

Description

The cos function returns a decimal specifying the cosine of an angle.

Syntax

<number>.cos()

(or)

cos(<number>); // This format is supported only in free-flow scripting mode of script builder.

The cos function syntax has the following arguments:

Number - Required. The number (integer/decimal) that expresses an angle in radians.

Return Value

Returns a decimal value representing the cosine of an angle.

Example

cos(1.5)

(or)

(1.5).cos()

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocreator.com