]>
Commit | Line | Data |
---|---|---|
ad49c256 | 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto |
f914f1a7 | 2 | // Copyright (c) 2009-2014 The Bitcoin Core developers |
c63a73d1 | 3 | // Distributed under the MIT software license, see the accompanying |
ad49c256 WL |
4 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. |
5 | ||
6 | /** | |
7 | * Money parsing/formatting utilities. | |
8 | */ | |
9 | #ifndef BITCOIN_UTILMONEYSTR_H | |
10 | #define BITCOIN_UTILMONEYSTR_H | |
11 | ||
12 | #include <stdint.h> | |
13 | #include <string> | |
14 | ||
a372168e MF |
15 | #include "amount.h" |
16 | ||
a5beb3a5 | 17 | std::string FormatMoney(const CAmount& n); |
a372168e MF |
18 | bool ParseMoney(const std::string& str, CAmount& nRet); |
19 | bool ParseMoney(const char* pszIn, CAmount& nRet); | |
ad49c256 WL |
20 | |
21 | #endif // BITCOIN_UTILMONEYSTR_H |