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

IsNumber – PB Docs 2022 – PowerBuilder Library

IsNumber – PB Docs 2022

IsNumber

PowerScript function

Description

Reports whether the value of a string is a number.

Syntax

Argument

Description

string

A string whose value you want to test to determine whether
it is a valid PowerScript number

Return value

Boolean.

Returns true if string is a valid PowerScript number and false if it
is not. If string is null, IsNumber returns null.

Usage

Use IsNumber to check that text in an edit control can be converted
to a number.

To convert a string to a specific numeric datatype, use the Double,
Dec, Integer, Long, or Real function.

Examples

This statement returns true:

This statement returns false:

If the SingleLineEdit sle_Age contains 32, these statements store 32
in li_YearsOld:

See also

Double

Dec

Integer

Long

Real

IsNumber method for DataWindows in IsNumber in DataWindow Reference 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