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.

• If the argument is NULL, NULL is returned.<br />

Internal functions<br />

• If the first character of the argument string is multi-byte, an error is raised. (A bug in <strong>Firebird</strong> <strong>2.1</strong>–<br />

<strong>2.1</strong>.3 causes an error to be raised if any character in the string is multi-byte. This is fixed in <strong>2.1</strong>.4.)<br />

Important<br />

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

the 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 sine of the argument.<br />

Result type: DOUBLE PRECISION<br />

Syntax:<br />

ASIN (number)<br />

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

ASIN()<br />

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

Important<br />

If the external function ASIN 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 tangent of the argument.<br />

Result type: DOUBLE PRECISION<br />

Syntax:<br />

ATAN (number)<br />

• The result is an angle in the range .<br />

ATAN()<br />

125

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

Saved successfully!

Ooh no, something went wrong!