[#MoneyRange]
= MoneyRange
:mrdocs:

Returns true when the amount is non&hyphen;negative and does not exceed MAX&lowbar;MONEY&period;

== Synopsis

Declared in `&lt;consensus&sol;amount&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
MoneyRange(xref:CAmount.adoc[CAmount] const& nValue);
----

== Return Value

true if nValue is a valid amount within the accepted range&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nValue*
| Amount in satoshis to check&period;
|===


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