CT_FTOC

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

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.