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()
Pingback: FT Functions | Viva Clipper !
Pingback: FT Conversion | Viva Clipper !