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

deccvlong()

The deccvlong() function converts a C long type value into a decimal type value.

Syntax

Return Codes

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

Example

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