parseDecimal32Exact overloads
Declared in <bdldfp_decimalutil.h>
Parse str into out, reporting whether the conversion is exact.
static
int
parseDecimal32Exact(
Decimal32* out,
char const* str);
» more...
Same as the related overload above for parseDecimal32Exact.
template<class STRING_TYPE>
static
int
parseDecimal32Exact(
Decimal32* 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 |