NWisdigit

Returns a nonzero value if the given character is a digit

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform Localization (LOC*.*)
Service:Internationalization

Syntax

  #include <time.h> or #define NWL_EXCLUDE_TIME 
  #include <stdio.h> or #define NWL_EXCLUDE_FILE 
  #include <nwlocale.h> 
   
  nint N_API NWisdigit (
    nuint   ch); 
  
  

Pascal Syntax

  uses netwin32 
   
  Function NWisdigit   
    (ch : nuint 
  ) : nint; 
  
  

Parameters

ch
(IN) Specifies the character to be checked to determine if it is a numeric character.

Return Values

0x0000

Not a numeric character

non-zero

A numeric character

Remarks

DBCS characters passed to NWisdigit should be byte-swapped to Intel lo-hi order.

Currently all double-byte characters return zero.

See Also

NWisalnum, NWisalpha, NWisxdigit