# XTOC()

$SYNTAX$

Arguments

  <expValue> Designate an expression of some of the following data type: NUMBER, CHARACTER, DATE, LOGICAL.

Returns

  XTOC() return a string with the representation of data type of expValue. ATTENTION: different implementations or platforms of Harbour, they could produce different format in the string returned by XTOC() for data type NUMBER.

Description

  Each data type always returns a string with a particular fixed length:
  ----------------------------------------------------------- Data Type Result Length Similar function ----------------------------------------------------------- Numeric sizeof( DOUBLE ) FTOC() Logical 1 Date 8 DTOS() String Unchanged -----------------------------------------------------------
  TODO: add documentation

Status

  Started

Platforms

  All

Files

  Source is misc1.c, library is libct.

See Also

- CTOF()
- FTOC()