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