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

Round – PB Docs 125 – PowerBuilder Library

Round – PB Docs 125

Round DataWindow expression function

Description

Rounds a number to the specified number of decimal places.

Syntax

Argument

Description

x

The number you want to round.

n

The number of decimal places to which
you want to round x. Valid values are 0 through
28.

Return Values

Decimal. If n is positive, Round returns x rounded
to the specified number of decimal places. If n is
negative, it returns x rounded to (- n +1)
places before the decimal point. Returns –1 if it fails.

Examples

This expression returns 9.62:

This expression returns 9.63:

This expression returns 9.600:

This expression returns -9.63:

This expression returns -10:

See Also


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