sin()

sin()

Overview

The sin() function takes a number as an argument, and returns the trigonometric sine of that number (angle measured in radians).

Return Type

  • Decimal

Syntax

<variable> = <number>.sin();

(OR)

<variable> = sin(<number> );
ParameterDescriptionData type
<variable>Variable which will contain the returned value.DECIMAL
<number>The number whose sine value will be returned.NUMBER or DECIMAL

Examples

number= 90;
sinValue = number.sin();       // returns 0.8939966636005579

Share this post : FacebookTwitter

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

Write to us: support@zohodeluge.com