Parse str as a Decimal32 into out.

Synopsis

Declared in <bdldfp_decimalutil.h>

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

Description

The value of out is unspecified if the function returns a non‐zero value.

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