MariaDB: SIN Function
This MariaDB tutorial explains how to use the MariaDB SIN function with syntax and examples.
Description
The MariaDB SIN function returns the sine of a number.
Syntax
The syntax for the SIN function in MariaDB is:
SIN( number )
Parameters or Arguments
- number
- The value used to calculate the sine. It is expressed in radians.
Applies To
The SIN function can be used in the following versions of MariaDB:
- MariaDB 10
Example
Let's look at some MariaDB SIN function examples and explore how to use the SIN function in MariaDB.
For example:
SELECT SIN(3.5); Result: -0.35078322768961984 SELECT SIN(0); Result: 0 SELECT SIN(-7); Result: -0.6569865987187891
Advertisements