[#BloombergLP-bdldfp-DecimalUtil-parseDecimal32Exact-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::parseDecimal32Exact
:relfileprefix: ../../../
:mrdocs:

`parseDecimal32Exact` overloads

== Synopses

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

Parse `str` into `out`, reporting whether the conversion is exact&period;


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

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal32Exact-0e.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/parseDecimal32Exact-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

0 if exact, positive if approximate, and negative if unparsable

== 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]#
