21.10.2013 Views

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 12<br />

Available in: DSQL, PSQL<br />

Added in: <strong>2.1</strong><br />

Internal functions<br />

ABS()<br />

Description: Returns the absolute value of the argument.<br />

Result type: Numerical<br />

Syntax:<br />

ABS (number)<br />

Important<br />

If the external function ABS is declared in your database, it will override the internal function. To make the<br />

internal function available, DROP or ALTER the external function (UDF).<br />

Available in: DSQL, PSQL<br />

Added in: <strong>2.1</strong><br />

Description: Returns the arc cosine of the argument.<br />

Result type: DOUBLE PRECISION<br />

Syntax:<br />

ACOS (number)<br />

• The result is an angle in the range [0, #].<br />

ACOS()<br />

• If the argument is outside the range [-1, 1], NaN is returned.<br />

123

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

Saved successfully!

Ooh no, something went wrong!