<< Previous | Next >>

utoa

char * utoa( unsigned value, char * buf );

Description

Places up to 5 digit character string at *buf representing value of unsigned number. Suppresses leading zeros, but leaves one zero digit for value = 0. Max = 65535. 73 program bytes.

Parameters

value
16-bit number to convert.

buf
Character string of converted number.

Return value

Pointer to null at end of string.

Library

STDIO.LIB

See also

itoa, htoa, ltoa


Dynamic C Functions << Previous | Next >> rabbit.com