JCL Help:FloatIsZero

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests if a float is zero.


Parameters

Parameters Description
X The floating point value to test.


Return Value

If the supplied floating point value equals zero within the precision as defined by the PrecisionTolerance global variable, the function returns True, otherwise it returns False.


Description

FloatIsZero tests whether the supplied floating point value equals zero within the precision as specified by the PrecisionTolerance. Thus the function returns True if (X > -PT) and (X < +PT).


See Also

FloatsEqual


About

Donator

ESB Consultancy


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page