PRCYCoin
2.0.0.7rc1
P2P Digital Currency
src
utilmoneystr.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2010 Satoshi Nakamoto
2
// Copyright (c) 2009-2014 The Bitcoin developers
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
9
#ifndef BITCOIN_UTILMONEYSTR_H
10
#define BITCOIN_UTILMONEYSTR_H
11
12
#include <stdint.h>
13
#include <string>
14
15
#include "
amount.h
"
16
17
std::string
FormatMoney
(
const
CAmount
& n,
bool
fPlus =
false
);
18
bool
ParseMoney
(
const
std::string& str,
CAmount
& nRet);
19
bool
ParseMoney
(
const
char
* pszIn,
CAmount
& nRet);
20
21
#endif // BITCOIN_UTILMONEYSTR_H
FormatMoney
std::string FormatMoney(const CAmount &n, bool fPlus=false)
Money parsing/formatting utilities.
Definition:
utilmoneystr.cpp:13
CAmount
int64_t CAmount
Amount in PRCY (Can be negative)
Definition:
amount.h:17
ParseMoney
bool ParseMoney(const std::string &str, CAmount &nRet)
Definition:
utilmoneystr.cpp:37
amount.h
Generated on Tue Apr 28 2026 00:03:01 for PRCYCoin by
1.8.17