Change default configure option --with-system-univalue to "no"
[bitcoinplatinum.git] / src / utilmoneystr.h
blob99c3ba83061b795ec3a07e63dbaf1136c57d9527
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2014 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 /**
7 * Money parsing/formatting utilities.
8 */
9 #ifndef BITCOIN_UTILMONEYSTR_H
10 #define BITCOIN_UTILMONEYSTR_H
12 #include <stdint.h>
13 #include <string>
15 #include "amount.h"
17 std::string FormatMoney(const CAmount& n);
18 bool ParseMoney(const std::string& str, CAmount& nRet);
19 bool ParseMoney(const char* pszIn, CAmount& nRet);
21 #endif // BITCOIN_UTILMONEYSTR_H