[#FormatMoney]
= FormatMoney
:mrdocs:

Format an amount as a string denoted in full coins&period;

== Synopsis

Declared in `&lt;util&sol;moneystr&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
FormatMoney(xref:CAmount.adoc[CAmount] n);
----

== Return Value

The amount rendered as a decimal string in full coins&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *n*
| The amount, in the smallest unit, to format&period;
|===


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