Query_Lang-SystemFunctions_Arithmetic_ZEROZERO_AD

您正在阅读的是 3.1. 版本。关于最新版本,请前往 Query_Lang-SystemFunctions_Arithmetic_ZERO((ZERO))_AD 阅读 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.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.