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

Ceiling – PB Docs 150 – PowerBuilder Library

Ceiling – PB Docs 150

Ceiling DataWindow expression function

Description

Retrieves the smallest whole number that is greater than or
equal to a specified limit.

Syntax

Argument

Description

n

The number for which you want the smallest
whole number that is greater than or equal to it

Return Values

The datatype of n. Returns the smallest
whole number that is greater than or equal to n.

Examples

These expressions both return -4:

This expression for a computed field returns ERROR
if the value in discount_amt is greater than the smallest
whole number that is greater than or equal to discount_factor
times price. Otherwise, it returns discount_amt:

To pass this validation rule, the value in discount_amt
must be less than or equal to the smallest whole number that is
greater than or equal to discount_factor times price:

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