[#BloombergLP-bdldfp-DecimalUtil-parseDecimal32-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::parseDecimal32
:relfileprefix: ../../../
:mrdocs:

`parseDecimal32` overloads

== Synopses

Declared in `&lt;bdldfp&lowbar;decimalutil&period;h&gt;`

Parse `str` as a `Decimal32` into `out`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal32-04.adoc[parseDecimal32](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32]* out,
    char const* str);
----

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal32-04.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `parseDecimal32`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STRING&lowbar;TYPE&gt;
static
int
xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal32-00.adoc[parseDecimal32](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32]* out,
    STRING&lowbar;TYPE const& str);
----

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal32-00.adoc[_» more&period;&period;&period;_]#

== Return Value

0 on success and non&hyphen;zero otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *out*
| receives the parsed value
| *str*
| null&hyphen;terminated decimal text to parse
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
