NWutoa

Converts an unsigned integer to a string

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 <nwlocale.h> 
   
  pnstr N_API NWutoa  ( 
     nuint   value,  
     pnstr   string,  
     nuint   radix); 
  
  

Pascal Syntax

  uses netwin32 
   
  Function NWultoa 
    (value : nuint32; 
     str : pnstr; 
     radix : nuint 
  ) : pnstr; 
  
  

Parameters

value
(IN) Specifies the unsigned integer to be converted.
string
(OUT) Points to the string result.
radix
(IN) Specifies the base of the value parameter (range 2-36).

Return Values

Returns a pointer to the string.

Remarks

NWutoa converts the digits of the specified value parameter to a NULL-terminated character string and stores the results in the string parameter.

NWutoa returns NULL if an invalid value is passed into the radix parameter.

The string parameter must be pointing to a buffer large enough to contain the number being converted.

See Also

NWitoa, NWltoa, NWultoa