Home |
Previous Page | Next Page Data Manipulation > Using Numeric Data Types > Fixed-Point Data >
To transfer
fixed-point data between different computer architectures, the DataBlade API provides
the following functions that handle type alignment and byte order.
- DataBlade API Function
- Description
- mi_get_decimal( )
- Copies an aligned mi_decimal value,
converting any difference in alignment or byte order on the client computer
to that of the server computer
- mi_get_money( )
- Copies an aligned mi_money value,
converting any difference in alignment or byte order on the client computer
to that of the server computer
- mi_put_decimal( )
- Copies an aligned mi_decimal value,
converting any difference in alignment or byte order on the server computer
to that of the client computer
- mi_put_money( )
- Copies an aligned mi_money value,
converting any difference in alignment or byte order on the server computer
to that of the client computer
The mi_get_decimal( ), mi_get_money( ), mi_put_decimal( ),
and mi_put_money( ) functions are
useful in the send and receive support function of an opaque data
type that contains mi_decimal or mi_money values.
They ensure that fixed-point (DECIMAL or MONEY) values
remain aligned when transferred to and from client applications.
For more information, see Conversion
of Opaque-Type Data with Computer-Specific Data Types.
Home |
[ Top of Page | Previous Page | Next Page | Contents |
Index ]