Viva Clipper !

CT_FTOC

Advertisements
 FTOC()
 Converts a floating point number into a special 8-byte string
------------------------------------------------------------------------------
 Syntax

     FTOC(<nFloatingPointNumber>) --> cFloatingPointNumber

 Arguments

     <nFloatingPointNumber>  Designate any Clipper number.

 Returns

     FTOC() returns an 8-byte character string.

 Description

     Clipper internal numbers are displayed as 64-bit floating point
     numbers.  FTOC() returns these 64 bits as an 8-byte string.  In this
     way, numbers can be locked and/or saved more compactly.

 Note

     .  The XTOC() function converts floating point numbers in the
        same way.

 Example

     It is not useful to display the return value on the screen:

     NumberString  :=  FTOC(274711.335)      // 8 byte string

See Also: CTOF() XTOC()

 

Advertisements

Advertisements