Bitcoin ABC 0.26.3
P2P Digital Currency
|
#include <util/moneystr.h>
#include <consensus/amount.h>
#include <tinyformat.h>
#include <util/strencodings.h>
#include <util/string.h>
Go to the source code of this file.
Functions | |
std::string | FormatMoney (const Amount amt) |
Do not use these functions to represent or parse monetary amounts to or from JSON but use AmountFromValue and the Amount::operator UniValue() for that. | |
bool | ParseMoney (const std::string &money_string, Amount &nRet) |
Parse an amount denoted in full coins. | |
std::string FormatMoney | ( | const Amount | amt | ) |
Do not use these functions to represent or parse monetary amounts to or from JSON but use AmountFromValue and the Amount::operator UniValue() for that.
Definition at line 13 of file moneystr.cpp.
Parse an amount denoted in full coins.
E.g. "0.0034" supplied on the command line.
Definition at line 37 of file moneystr.cpp.