FormatMoney

Format an amount as a string denoted in full coins.

Synopsis

Declared in <util/moneystr.h>

std::string
FormatMoney(CAmount n);

Return Value

The amount rendered as a decimal string in full coins.

Parameters

NameDescription
nThe amount, in the smallest unit, to format.