Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Sign – PB Docs 2018 – PowerBuilder Library

Sign – PB Docs 2018

Sign

PowerScript function

Description

Reports whether a number is negative, zero, or positive.

Syntax

Argument

Description

n

The number for which you want to find out the sign

Return value

Integer.

Returns a number (-1, 0, or 1) indicating the sign of n. If n is
null, Sign returns null.

Examples

This statement returns 1 (the number is positive):

This statement returns 0 (zero has no sign):

This statement returns -1 (the number is negative):

See also

Sign method for DataWindows in the section called “Sign” in DataWindow Reference.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x