![]() |
Bitcoin ABC
0.22.13
P2P Digital Currency
|
Go to the source code of this file.
Functions | |
std::string | FormatMoney (const Amount n) |
Money parsing/formatting utilities. More... | |
NODISCARD bool | ParseMoney (const std::string &str, Amount &nRet) |
Parse an amount denoted in full coins. More... | |
std::string FormatMoney | ( | const Amount | n | ) |
Money parsing/formatting utilities.
Do not use these functions to represent or parse monetary amounts to or from JSON but use AmountFromValue and ValueFromAmount for that.
Definition at line 12 of file moneystr.cpp.
Parse an amount denoted in full coins.
E.g. "0.0034" supplied on the command line.
Definition at line 34 of file moneystr.cpp.