FT Conversion

 FT_BYT2BIT()     Convert byte to string of 1's and 0's
 FT_BYT2HEX()     Convert byte to hexadecimal version of its binary value
 FT_D2E()         Convert decimal to scientific notation
 FT_DEC2BIN()     Convert decimal to binary
 FT_E2D()         Convert scientific notation string to a decimal
 FT_ESCCODE()     Convert Lotus style escape codes
 FT_HEX2DEC()     Convert a hex number to decimal
 FT_INVCLR()      Get the inverse of a color
 FT_NTOW()        Translate numeric value to words
 FT_SQZN()        Compress a numeric value into a character string
 FT_STOD()        Convert a date string to a Clipper date data type
 FT_UNSQZN()      Uncompress a numeric compressed by FT_SQZN()
 FT_XTOY()        Convert from any data type to any other data type

FT_E2D

FT_E2D()
 Convert scientific notation string to a decimal
------------------------------------------------------------------------------

 Syntax

            FT_E2D( <cNumE> )  -> <nDec>

 Arguments

                <cNumE>   Scientific notation string to convert

 Returns

                <nDec>    Decimal number

 Description

                Given a string in the format  x.yEz, the decimal
                equivalent is returned.

 Examples

                ? FT_E2D( "1.23E1" )
                  -> 12.3

                ? FT_E2D( "-1.235E1" )
                  -> -12.35

                ? ft_d2e( "5.43E-6" )
                  -> 0.0000543

 Source: E2D.PRG

 Author: Gary Baren

See Also: FT_D2E()

FT_D2E

FT_D2E()
 Convert decimal to scientific notation
------------------------------------------------------------------------------

 Syntax

            FT_D2E( <nDec>, <nPrecision> )  -> <cNumE>

 Arguments

                <nDec>         Decimal number to convert

                <nPrecision>   Number of decimal places in result.
                     Defaults to 6 decimal places.

 Returns

                <cNumE>        A string representing a number in
                     scientific notation

 Description

                Given a decimal number and the desired precision,
                a string representing the equivalent in scientific
                notation is returned.

 Examples

                ? FT_D2E( 12.345, 2 )
                  -> 1.23E1

                ? FT_D2E( -12.345, 3 )
                  -> -1.235E1

                ? FT_D2E( 0.00000543, 2 )
                  -> 5.43E-6

 Source: D2E.PRG

 Author: Gary Baren

See Also: FT_E2D()