Difference between revisions of "Xojo.Math.Sin"

From Xojo Documentation

(Sample Code)
 
Line 1: Line 1:
 +
{{DeprecatedItem|version=2020r2|replacement=[[Sin]]}}
 
{{MethodBox
 
{{MethodBox
 
| name = Sin
 
| name = Sin

Latest revision as of 21:47, 30 October 2020

Method

Xojo.Math.Sin(value As Double) As Double

Supported for all project types and targets.

Returns the sine of the specified value.

Sample Code

Calculate the sine:

Using Xojo.Math

Dim d As Double
d = Sin(0.5)