Altium Designer Documentation


Created: September 5, 2015 | Updated: August 13, 2021
Now reading version 20.0. For the latest, read: SIGN for version 22

Parent page: System Query Functions - Arithmetic Functions


Returns sign value of the supplied parameter. That is, it returns an integral number, whose value depends upon the nature of the parameter's numeric value:

  • If that numeric value is positive, the number returned is 1.
  • If that numeric value is negative, the number returned is -1.
  • If that numeric value is exactly zero, the number returned is 0.


SIGN(X : Number / Numeric_String) : Number

Example Usage

Returns 1.

Returns -1.

Returns 0.


Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

Contact Us

Contact our corporate or local offices directly.

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: