23.10.2012 Views

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example This example illustrates the DEGREES function:<br />

Notes • The expression specifies an angle in radians.<br />

EXP<br />

Syntax<br />

• The expression must evaluate to a numeric data type.<br />

Compatibility<br />

ODBC compatible<br />

Returns the exponential value of expression (e raised to the power of expression).<br />

Example This example illustrates the EXP function:<br />

Note expression must evaluate to an approximate numeric data type.<br />

FLOOR<br />

Syntax<br />

SELECT DEGREES(3.14159265359) 'Degrees in pi Radians'<br />

FROM SYSPROGRESS.SYSCALCTABLE;<br />

EXP ( expression )<br />

SELECT EXP( 4 ) 'e to the 4th power' from sysprogress.syscalctable;<br />

Compatibility<br />

ODBC compatible<br />

Returns the largest integer less than or equal to expression.<br />

FLOOR ( expression )<br />

Example This example illustrates the FLOOR function:<br />

SELECT FLOOR (32.5) 'Floor' from sysprogress.syscalctable ;<br />

Note expression must evaluate to a numeric data type.<br />

EXP<br />

95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!