[#BloombergLP-bdldfp-DecimalUtil-parseDecimal32-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::parseDecimal32 :relfileprefix: ../../../ :mrdocs: Parse `str` as a `Decimal32` into `out`. == Synopsis Declared in `<bdldfp_decimalutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int parseDecimal32( xref:BloombergLP/bdldfp/Decimal32.adoc[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 [cols="1,4"] |=== | Name| Description | *out* | receives the parsed value | *str* | null‐terminated decimal text to parse |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#