63
63
int decimal_is_zero(const decimal_t *from);
64
64
void max_decimal(int precision, int frac, decimal_t *to);
68
return internal_str2dec(from, to, end, false);
66
#define string2decimal(A,B,C) internal_str2dec((A), (B), (C), 0)
71
68
/* set a decimal_t to zero */
82
78
returns the length of the buffer to hold string representation
83
79
of the decimal (including decimal dot, possible sign and \0)