parseDecimal128 overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the related overload above for parseDecimal128.

static
int
parseDecimal128(
    Decimal128* out,
    char const* str);

Parse str as a decimal floating‐point number into out.

template<class STRING_TYPE>
static
int
parseDecimal128(
    Decimal128* out,
    STRING_TYPE const& str);

Return Value

0 on success and non‐zero otherwise

Parameters

Name

Description

out

receives the parsed value

str

null‐terminated decimal text to parse

Created with MrDocs