informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

deccvasc()

The deccvasc() function converts a value held as printable characters in a C char type into a decimal type number.

Syntax

Usage

The character string, strng_val, can contain the following symbols:

The deccvasc() function ignores leading spaces in the character string.

Return Codes

0 The conversion was successful.
-1200 The number is too large to fit into a decimal type structure (overflow).
-1201 The number is too small to fit into a decimal type structure (underflow).
-1213 The string has non-numeric characters.
-1216 The string has a bad exponent.


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved