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 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 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 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()