Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
utilmoneystr.h File Reference
Include dependency graph for utilmoneystr.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
std::string | FormatMoney (const CAmount &n) |
Money parsing/formatting utilities. More... | |
bool | ParseMoney (const std::string &str, CAmount &nRet) |
bool | ParseMoney (const char *pszIn, CAmount &nRet) |
Function Documentation
◆ FormatMoney()
std::string FormatMoney | ( | const CAmount & | n | ) |
Money parsing/formatting utilities.
Definition at line 12 of file utilmoneystr.cpp.
References COIN, and strprintf.
Referenced by Consensus::CheckTxInputs(), CPrivateSendClientSession::DoAutomaticDenominating(), WalletInit::GetHelpString(), HelpMessage(), CTxMemPool::PrioritiseTransaction(), CWallet::SelectCoinsMinConf(), SendMoney(), and COutput::ToString().
◆ ParseMoney() [1/2]
bool ParseMoney | ( | const std::string & | str, |
CAmount & | nRet | ||
) |
Definition at line 34 of file utilmoneystr.cpp.
References ParseMoney().
Referenced by AppInitParameterInteraction(), DefaultOptions(), ExtractAndValidateValue(), WalletInit::ParameterInteraction(), and ParseMoney().