Progress
Embedded SQL-92
Guide and Reference


FLOAT Data Type

The FLOAT data type corresponds to a double-precision floating-point number. The database representation and the host language representation are the same as the C Language DOUBLE data type.

EXAMPLE

The following example shows how to use the FLOAT data type:

EXEC SQL BEGIN DECLARE SECTION ;
     double salary_v ;
     char ename_v[19] ;
EXEC SQL END DECLARE SECTION ;
 
EXEC SQL
     SELECT ename, salary
     INTO :ename_v, :salary_v
     FROM employee
     WHERE empno = 2040 ; 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095