Product Documentation

SQL Reference Guide

Previous Topic

Next Topic

RADIANS function (ODBC compatible)

Syntax

RADIANS ( expression )

Description

The scalar function RADIANS returns the number of radians in an angle specified in degrees by expression.

Example

SELECT RADIANS(180) 'Radians in 180 degrees'

FROM ADMIN.SYSCALCTABLE;

Notes

  • Expression specifies an angle in degrees.
  • Expression must evaluate to a numeric data type.

TOCIndex