[#BloombergLP-bslim-FuzzUtil-consumeNumberInRange-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/FuzzUtil.adoc[FuzzUtil]::consumeNumberInRange
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload for floating&hyphen;point `TYPE`&period;

== Synopsis

Declared in `&lt;bslim&lowbar;fuzzutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
TYPE
consumeNumberInRange(
    xref:BloombergLP/bslim/FuzzDataView.adoc[FuzzDataView]* fuzzDataView,
    TYPE min,
    TYPE max)
requires bsl&colon;&colon;is&lowbar;floating&lowbar;point&lt;TYPE&gt;&colon;&colon;value;
----

== Return Value

a value of `TYPE` in the inclusive range &lsqb;`min` &period;&period; `max`&rsqb;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *fuzzDataView*
| view providing fuzz input bytes
| *min*
| inclusive lower bound of the result
| *max*
| inclusive upper bound of the result
|===


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