Hex Digit? Function

Returns TRUE if char represents a hex digit ranging from 0 through 9, A through F, or a through f. 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.


icon

Inputs/Outputs

  • cstr.png char

    char can be a scalar string or number, clusters of strings or numbers, arrays of strings or numbers, and so on.

  • ibool.png hex?

    hex? is a Boolean value of the same data type structure as char.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Comparison\Compare Character Types.vi