[#BloombergLP-bdldfp-DecimalUtil-parseDecimal128Exact-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::parseDecimal128Exact
:relfileprefix: ../../../
:mrdocs:

`parseDecimal128Exact` overloads

== Synopses

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

Same as the overload above for `parseDecimal128Exact`&period;


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

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

Load into the specified `out` the decimal floating point number described by the specified `str`&period; Return 0 if `out` is an exact representation of `str`, a positive value if `str` is an approximation of `str` (i&period;e&period;, `str` could not be represented exactly), and a negative value if `str` could not be parsed&period; The value of `out` is unspecified if the function returns a negative value&period; The parameterized `STRING&lowbar;TYPE` must be one of `bsl&colon;&colon;string`, `std&colon;&colon;string`, `std&colon;&colon;pmr&colon;&colon;string` (if supported), or `bslstl&colon;&colon;StringRef`&period;


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

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


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