mirror of
https://github.com/monero-project/monero.git
synced 2025-12-23 15:38:10 -08:00
double/string to monero integer convertion methods
This commit is contained in:
@@ -160,6 +160,8 @@ struct Wallet
|
||||
virtual uint64_t balance() const = 0;
|
||||
virtual uint64_t unlockedBalance() const = 0;
|
||||
static std::string displayAmount(uint64_t amount);
|
||||
static uint64_t amountFromString(const std::string &amount);
|
||||
static uint64_t amountFromDouble(double amount);
|
||||
// TODO?
|
||||
// virtual uint64_t unlockedDustBalance() const = 0;
|
||||
virtual bool refresh() = 0;
|
||||
|
||||
Reference in New Issue
Block a user