The Calculator class is a tool used to evaluate mathematical expressions. It extends the base Tool class.
const calculator = new Calculator();const sum = calculator.add(99, 99);console.log("The sum of 99 and 99 is:", sum); Copy
const calculator = new Calculator();const sum = calculator.add(99, 99);console.log("The sum of 99 and 99 is:", sum);
Generated using TypeDoc
The Calculator class is a tool used to evaluate mathematical expressions. It extends the base Tool class.
Example