BloombergLP::bdldfp::DecimalUtil::parseDecimal32

parseDecimal32 overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Load into the specified out the decimal floating point number described by the specified str; return zero if the conversion was successful and non-zero otherwise. The value of out is unspecified if the function returns a non-zero value.

static
int
parseDecimal32(
    Decimal32* out,
    char const* str);
» more...

Same as the overload above for parseDecimal32.

template<class STRING_TYPE>
static
int
parseDecimal32(
    Decimal32* out,
    STRING_TYPE const& str);
» more...