Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <util/moneystr.h>
#include <consensus/amount.h>
#include <tinyformat.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <cstdint>
#include <optional>
Go to the source code of this file.
Functions | |
std::string | FormatMoney (const CAmount n) |
Money parsing/formatting utilities. More... | |
std::optional< CAmount > | ParseMoney (const std::string &money_string) |
Parse an amount denoted in full coins. More... | |
std::string FormatMoney | ( | const CAmount | n | ) |
Money parsing/formatting utilities.
Definition at line 19 of file moneystr.cpp.
std::optional< CAmount > ParseMoney | ( | const std::string & | str | ) |
Parse an amount denoted in full coins.
E.g. "0.0034" supplied on the command line.
Definition at line 45 of file moneystr.cpp.