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

Abs – PB Docs 125 – PowerBuilder Library

Abs – PB Docs 125

Abs PowerScript function

Description

Calculates the absolute value of a number.

Syntax

Argument

Description

n

The number for which you want the absolute
value

Return Values

The datatype of n. Returns the absolute
value of n. If n is null, Abs returns null.

Examples

All these statements set num to
4:

This statement returns 4.2:

See Also

  • Abs 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