ZERO

This document is no longer available beyond version 4. Information can now be found here: ZERO for version 5

Applies to NEXUS Client version: 4

This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.

Parent page: System Query Functions - Arithmetic Functions

Summary

Returns an integral number whose value is either 0 or 1, depending upon the parameter's numeric value. If that numeric value is zero, the number returned is 0; otherwise the number returned is 1.

Syntax

ZERO(X : Number / Numeric_String) : Number

Example Usage

ZERO(5.33)
Returns 1.

ZERO(-5.33)
Returns 1.

ZERO(0)
Returns 0.