[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CTOF()
 Converts a special 8-byte string into a floating point number
------------------------------------------------------------------------------
 Syntax

     CTOF(<cFloatingPointNumber>) --> nFloatingPointNumber

 Argument

     <cFloatingPointNumber>  Designates an 8-byte character string that
     contains a CA-Clipper number in the 64-bit floating point format.

 Returns

     CTOF() returns the number that corresponds in the passed string.

 Description

     Character strings created with FTOC() or XTOC() are changed into
     CA-Clipper numbers.  Note that when you use XTOC(), character strings or
     portions of character strings, can be switched back, if they have been
     displayed as CA-Clipper floating point numbers.

 Examples

     .  Change a number and then change it back:

        CTOF(FTOC(1234.55))        // Result:  1234.55

     .  This also works for XTOC():

        ? CTOF(XTOC(1234.55))      // Result:  1234.55


See Also: FTOC() XTOC()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson