24 std::string format(
float f) {
25 std::ostringstream os;
42 : value(theValue), valueString(format(theValue))
57 return "[number] -- Any of many formats of number to push onto the stack";
61 std::istringstream is(str);
virtual std::string getHelp() const
virtual StackOperator::Ptr create(const std::string &str)
virtual std::string toString() const
std::shared_ptr< Number > Ptr
static Number::Ptr create(float theValue)
Create with theValue to represent.
std::shared_ptr< StackOperator > Ptr
Container of Calculator resources.