/* numbers.c:
 *
 ****************************************************************
 * Copyright (C) 2003 Tom Lord
 *
 * See the file "COPYING" for further information about
 * the copyright and warranty status of this work.
 */


#include "hackerlab/char/str.h"
#include "hackerlab/fmt/cvt.h"
#include "libawk/numbers.h"



t_uchar *
int_to_string (int x)
{
  t_uchar buf[128];

  cvt_ulong_to_decimal (buf, (unsigned long)x);
  return str_save (0, buf);
}



/* tag: Tom Lord Thu May 15 20:45:17 2003 (numbers.c)
 */


syntax highlighted by Code2HTML, v. 0.9.1