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 Functionsreturns 0.WRITE $ZHEX(-1)returns FFFFFFFFFFFFFFFF.WRITE $ZHEX((3+(107*2)))returns D9.NotesForcing a Hexadecimal InterpretationTo force an integer value to be interpreted as hexadecimal, concatenate any non-hexadecimalcharacter to the end of your num parameter. For example:WRITE $ZHEX(16_"H")returns 22.See Also• ZZDUMP command$ZLNReturns the natural logarithm of the specified number.$ZLN(n)ParameternAny positive non-zero number, which can be specified as a value, a variable, or anexpression.Description$ZLN returns the natural logarithm (base e) value of n.Specifying zero or a negative number generates an error.The corresponding natural logarithm power function is $ZEXP.368 <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!