Searched refs:m_amount (Results 1 – 1 of 1) sorted by relevance
30 : m_amount(0.0) in account()33 void deposit(double amount) { m_amount += amount; } in deposit()36 if(amount > m_amount) in withdraw()40 m_amount -= amount; in withdraw()42 double balance() const { return m_amount; } in balance()45 double m_amount; member