deccvint()

Converts a 4-byte integer value to a decimal value.

Syntax

mint deccvint(mint in, dec_t *np);
  1. in is the mint value to convert to a decimal type value.
  2. np is a pointer to a decimal structure to contain the result of the conversion.

Returns

Table 1. Return codes
Code Description
0 The conversion was successful.
<0 The conversion failed.