Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>ctof()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson