NDoclet

Calculator Methods

The methods of the Calculator class are listed below. For a complete list of the Calculator class members, see the Calculator Members topic.

Public Instance Methods

 addAdds a number to the current result.
 divideDivides the current result by a number.
 getResultReturns the result of the calculations made sofar.
 multiplyMultiplies the current result with a number.
 subtractSubtracts a number from the current result.

See Also

Calculator Class | ndoclet.demo Package