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

Name

Description

n

The amount, in the smallest unit, to format.

Created with MrDocs