Download ACCELL/SQL: Developing an Application
Transcript
Float Data A float constant is a floating-point value of up to 17 digits total; the value includes a decimal point and up to 9 digits of precision to the right of this decimal point. By default, values are formatted with the %g notation of the printf( ) function in either decimal or scientific notation, which gives full precision in minimum space. Values can be formatted with the number format symbols or the printf( ) format. Data Type Features Example Category Feature Manual That Describes Feature Configuration variables FLTFMT FLTNULLCH FLTROUND Attributes DISPLAY_FORMAT DISPLAY_JUSTIFY EXTERN FIELD_LENGTH Form script statements DISPLAY System functions to_amount$( ) to_float$( ) to_num$( ) 12345678.123456789 Additional Help For information about the print( ) format, see . 42 Designing an Application