Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

utilmoneystr.h File Reference
#include <stdint.h>
#include <string>
#include <amount.h>
+ 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()

◆ 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