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

deccvdbl()

The deccvdbl() function converts a C double type number into a decimal type number.

Syntax

Return Codes

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

Example

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