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

ifx_int8toflt()

The ifx_int8toflt() function converts an int8 type number into a C float type number.

Syntax

Usage

The ifx_int8toflt() library function converts an int8 value to a C float. The size of a C float depends upon the hardware and operating system of the computer you are using.

Return Codes

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

Example

The file int8toflt.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