Bitcoin Core  0.19.99
P2P Digital Currency
Functions
moneystr.cpp File Reference
#include <util/moneystr.h>
#include <tinyformat.h>
#include <util/strencodings.h>
Include dependency graph for moneystr.cpp:

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 11 of file moneystr.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParseMoney() [1/2]

bool ParseMoney ( const std::string &  str,
CAmount nRet 
)

Definition at line 33 of file moneystr.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParseMoney() [2/2]

bool ParseMoney ( const char *  pszIn,
CAmount nRet 
)

Definition at line 38 of file moneystr.cpp.

Here is the call graph for this function: