Decimal Digit? Function

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Comparison Functions

Requires: Base Development System

Returns TRUE if char represents a decimal digit ranging from 0 through 9. If char is a string, this function uses the first character in the string. If char is a number, this function interprets it as the ASCII value of a character. If char is a floating-point number, this function rounds to the nearest integer. Otherwise, this function returns FALSE.

The connector pane displays the default data types for this polymorphic function.

Example

char can be a scalar string or number, clusters of strings or numbers, arrays of strings or numbers, and so on.
digit? is a Boolean value of the same data type structure as char.

Example

Refer to the Compare Character Types VI in the labview\examples\Comparison directory for an example of using the Decimal Digit? function.

WAS THIS ARTICLE HELPFUL?

Not Helpful