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

Mod – PB Docs 2022

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 value

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 section called “Mod” in DataWindow Reference.


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