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.

<strong>Caché</strong> <strong>ObjectScript</strong> FunctionsSee Also• KILL command• SET command• $GET function• $ORDER function• $ZUTIL(18) Undefined Variable Behavior function• Using Multi-Dimensional Storage (Globals) in Using <strong>Caché</strong> Multi-Dimensional Storage$DOUBLEReturns a number converted to a 64-bit floating point value.$DOUBLE(num)ParametersnumThe numeric value to be converted.Description$DOUBLE returns the number converted to the IEEE floating point data type. This type offloating point number can contain up to 15 digits. If num has more than 15 digits, $DOUBLErounds the decimal portion to the appropriate number of digits. If the integer portion of numis more than 15 digits, $DOUBLE rounds the integer to 15 digits and represents the additionaldigits with zeros.Note:At <strong>Caché</strong> 5.2, extremely large floating point numbers are not supported. The currentmaximum supported value for the DOUBLE data type is 1.79769e145. The minimumsupported value for the DOUBLE data type is either 2.22508e-308 (normal) or 4.9e-324 (denormalized).$DOUBLE generates floating point numeric values that accord with the IEEE floating pointstandard. It is primarily intended for interchange and compatibility with applications that usethis data type standard. In all other contexts, standard <strong>Caché</strong> decimal point numbers are moreexact, and are therefore preferable.200 <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!