[#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;`

Load into the specified `out` the decimal floating point number described by the specified `str`&semi; return zero if the conversion was successful and non&hyphen;zero otherwise&period; The value of `out` is unspecified if the function returns a non&hyphen;zero value&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 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;_]#


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