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

Mod – PB Docs 126 – PowerBuilder Library

Mod – PB Docs 126

Mod PowerScript function

Description

Obtains the remainder (modulus) of a division operation.

Syntax

Argument

Description

x

The number you want to divide by y

y

The number you want to divide into x

Return Values

The datatype of x or y,
whichever datatype is more precise. If any argument’s value
is null, Mod returns null.

Examples

This statement returns 2:

This statement returns 1.5:

This statement returns 2.5:

See Also

  • Mod method
    for DataWindows in the DataWindow Reference or the 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