11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

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.

Math and Time FunctionsSee Also• Operators in Using <strong>Caché</strong> <strong>ObjectScript</strong>$ZARCCOSInverse (arc) cosine function.$ZARCCOS(n)ParametersnA signed decimal number.Description$ZARCCOS returns the trigonometric inverse (arc) cosine of n. The result is given in radians(to 18 decimal places).ParametersnSigned decimal number ranging from 1 to -1 (inclusive). It can be specified as a value, avariable, or an expression. Numbers outside the range generate an error.The following are arc cosine values returned by $ZARCCOS:10-1returns 0returns 1.570796326794896619returns pi (3.141592653589793238)ExampleThe following example permits you to compare the arc cosine and the arc sine of a number:316 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!