Sin()
Calculates the sine of an angle that is entered in radians.
Sin( number=number );
Returns: Number
| Argument | Description |
|---|---|
|
number
number,
required
|
edit
Angle, in radians for which to calculate the sine. |
Examples
editThe following code example will output the values returned from the sin() function for the given input value.
result = sin(90);
dump(result);
See also
- Numbers
- Math
- numeric.sin()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)