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 125 – PowerBuilder Library

Sign – PB Docs 125

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 Values

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 DataWindow Reference or online Help


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