Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

utilmoneystr.cpp File Reference
#include <utilmoneystr.h>
#include <primitives/transaction.h>
#include <tinyformat.h>
#include <utilstrencodings.h>
+ Include dependency graph for utilmoneystr.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()

◆ ParseMoney() [1/2]

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

◆ ParseMoney() [2/2]

bool ParseMoney ( const char *  pszIn,
CAmount nRet 
)

Definition at line 39 of file utilmoneystr.cpp.

References atoi64(), CENT, and COIN.

Released under the MIT license