Link to this page
Print this page
Parent topic
:
C API functions
C-Extensions
/
C API functions
deccopy()
Copies one decimal value to another.
Syntax
void deccopy(dec_t *
n1
, struct decimal *
n2
);
n1
is a pointer to the value held in the source decimal structure.
n2
is a pointer to the target decimal structure.