Progress
Embedded SQL-92
Guide and Reference


REAL Data Type

The REAL data type corresponds to a single-precision floating-point number. The database representation and the host language representation are the same as the C Language float type.

EXAMPLE

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

EXEC SQL BEGIN DECLARE SECTION ;
     float val ;
EXEC SQL END DECLARE SECTION ;
 
EXEC SQL
     SELECT 120.00 + 100.50
     INTO :val
     FROM syscalctable ; 


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