parseDecimal128 overloads
Declared in <bdldfp_decimalutil.h>
Same as the related overload above for parseDecimal128.
static
int
parseDecimal128(
Decimal128* out,
char const* str);
» more...
Parse str as a decimal floating-point number into out.
template<class STRING_TYPE>
static
int
parseDecimal128(
Decimal128* out,
STRING_TYPE const& str);
» more...
0 on success and non-zero otherwise
| Name | Description |
|---|---|
| out | receives the parsed value |
| str | null-terminated decimal text to parse |