DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home
Contents
Index
Master Index
New Book
mi_decimal_to_binary()
The
mi_decimal_to_binary()
function converts a string of the built-in
decimal
data type to internal (binary) representation, and it converts from the processing locale to the target locale if necessary.
Syntax
mi_decimal *mi_decimal_to_binary(
decimal_string
)
mi_lvarchar *decimal_string;
decimal_string
is the variable-length string representation of the decimal value.
Valid in Client Application?
Valid in Server Routine?
Yes
Yes
Return Values
A pointer to an
mi_decimal
structure containing the binary representation of the input
decimal
string.
Related Topics
For additional information, see the descriptions of the following functions:
mi_date_to_binary()
,
mi_datetime_to_binary()
,
mi_money_to_binary()
,
mi_binary_to_date()
,
mi_binary_to_datetime()
,
mi_binary_to_money()
, and
mi_binary_to_decimal()
.
DataBlade API Programmer's Manual
, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.