parseDecimal128Exact overloads
Declared in <bdldfp_decimalutil.h>
Same as the related overload above for parseDecimal128Exact.
static
int
parseDecimal128Exact(
Decimal128* out,
char const* str);
» more...
Parse str into out, reporting whether the conversion is exact.
template<class STRING_TYPE>
static
int
parseDecimal128Exact(
Decimal128* out,
STRING_TYPE const& str);
» more...
0 if exact, positive if approximate, and negative if unparsable
| Name | Description |
|---|---|
| out | receives the parsed value |
| str | null-terminated decimal text to parse |