<div class="meta" robots="noindex">

</div>

Method

# Xojo.Math.Sin

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2020r2. Please use `Sin</api/math/sin>` as a replacement.

</div>

## Description

Returns the sine of the specified value.

## Sample code

Calculate the sine:

``` xojo
Using Xojo.Math

Dim d As Double
d = Sin(0.5)
```

## Compatibility

All project types on all supported operating systems.
