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

SetDecimal – PB Docs 2019 – PowerBuilder Library

SetDecimal – PB Docs 2019

SetDecimal

Description

Sets the value of a decimal variable to decimal data in a
string.

Syntax

Argument

Description

dec

The decimal data object to be set

dec_str

The string containing the data to be converted to a
decimal

Return value

PBXRESULT. PBX_OK for success.

Examples

This example uses the IPB_Session SetDecimal method to set the
value of a variable of type pbdec, then uses the IPB_Value SetDecimal
method to set the return value in the PBCallInfo structure:

Usage

If the string contains invalid data, the decimal value is set to
0.0.

See also

GetDecimalString

NewDecimal

ReleaseDecimalString


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