Product Documentation

SQL Reference Guide

Previous Topic

Next Topic

DEGREES function (ODBC compatible)

Syntax

DEGREES ( expression )

Description

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

Example

SELECT DEGREES(3.14159265359) 'Degrees in pi Radians'

FROM ADMIN.SYSCALCTABLE;

Notes

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

TOCIndex