11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

See Also•$ZUTIL(69,45)$ZUTIL(69,45)Truncates numbers during string-to-number conversion system-wide.$ZUTIL(69,45,n)$ZU(69,45,n)ParametersnThe boolean value that specifies whether or not to truncate numbers system-wide.DescriptionNormally, when <strong>Caché</strong> encounters a number larger than 9223372036854775807 E127 (orsmaller than -9223372036854775808 E127) it issues a error.$ZUTIL(69,45,n) turns off the error during string-to-number conversions.Instead, truncate the exponent to the biggest valid number and continue conversion. Thisfunction only prevents errors during string-to-number conversions. A error can still occur during arithmetic operations.This function is provided for MSM compatibility. Specifying $ZUTIL(55,8) to set MSMlanguage mode automatically sets $ZUTIL(69,45).Invoking $ZUTIL(69,45) without specifyingn returns the current switch setting.ParametersnThe switch that determines whether number truncation occurs. 0 = Do not truncate largenumbers; issue a error. 1 = During string-to-number conversion, truncatelarge numbers and suppress errors.$ZUTIL(69,45,0) is the default setting for the switch in all language modes except MSMmode. This configuration default cannot be changed using the System Management Portal.Setting $ZUTIL(69,45) overrides the System Configuration default; it does not change theconfiguration setting.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 675

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

Saved successfully!

Ooh no, something went wrong!