informix
INFORMIX-ESQL/C Programmer's Manual
ESQL/C Function Library

ifx_int8todbl()

The ifx_int8todbl() function converts an int8 type number into a C double type number.

Syntax

Usage

The floating-point format of the host computer can result in loss of precision in the conversion of an int8 type number to a double type number.

Return Codes

0 The conversion was successful.
<0 The conversion failed.

Example

The file int8todbl.ec in the demo directory contains the following sample program.

Output


INFORMIX-ESQL/C Programmer's Manual, Version 9.21
Copyright © 1999, Informix Software, Inc. All rights reserved