Maptitude GISDK Help

ZeroToNull(), Zn()

Summary

Converts a zero numeric value to null.

 

Changes

Handling of epsilon changed in Version 5.0.

 

Syntax

new_value = ZeroToNull(real old_value, real epsilon)

 

Argument

Contents

old_value

The numeric value to convert

epsilon

If not null, the allowable difference from zero

 

Returns

A new value equal to old_value if old_value is not zero or within epsilon of zero, otherwise null.

 

Notes

Example

testval = 0.001

fixval1 = ZeroToNull(testval, 0.01)

// fixval1 = null

fixval2 = Zn(testval, )

// fixval2 = 0.001

 

See Also

Function

Summary

NullToZero()

Converts a null numeric value to zero

 

 

©2025 Caliper Corporation www.caliper.com