UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

Related Command UniData TERM – For information, see the UniData Commands Reference. 1-108 UniBasic Commands Reference

ATAN Syntax ATAN(expr) Description The UniBasic ATAN function returns the trigonometric arc tangent (inverse tangent) of a numeric expression expr in degrees. With null value handling on, the result of any mathematical operation, function, or comparison involving the null value is the null value. Therefore, ATAN returns the null value when expr is the null value. Example In the following example, the program segment prints the arc tangent of the variable VAL. VAL is set to 45. VAL = 1 PRINT ATAN(VAL) Related Commands ACOS, ASIN, COS, SIN, TAN ATAN 1-109

ATAN<br />

Syntax<br />

ATAN(expr)<br />

Description<br />

The <strong>UniBasic</strong> ATAN function returns the trigonometric arc tangent (inverse tangent)<br />

of a numeric expression expr in degrees.<br />

With null value handling on, the result of any mathematical operation, function, or<br />

comparison involving the null value is the null value. Therefore, ATAN returns the<br />

null value when expr is the null value.<br />

Example<br />

In the following example, the program segment prints the arc tangent of the variable<br />

VAL. VAL is set to 45.<br />

VAL = 1<br />

PRINT ATAN(VAL)<br />

Related <strong>Commands</strong><br />

ACOS, ASIN, COS, SIN, TAN<br />

ATAN 1-109

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

Saved successfully!

Ooh no, something went wrong!