IsZero

Checks to see if the passed in value is close to zero based on a predefined Financial Management epsilon. This function can be used in all types of rules.

Syntax

BooleanValue = HS.IsZero(Value)

Return Value

A Boolean that is True if the passed in value is close to zero. False otherwise.

Example

Dim BoolVal 
Dim Value 
Value = 0.000000001 
BoolVal = HS.IsZero(Value) 
If BoolVal = true Then 
   // do processing 
Else 
   // do Processing 
End If