Answers for "How do I add/subtract/multiply/divide/exponent/roots context variables in IBM watson chatbot?"
https://developer.ibm.com/answers/questions/453044/how-do-i-addsubtractmultiplydivideexponentroots-co.html
The latest answers for the question "How do I add/subtract/multiply/divide/exponent/roots context variables in IBM watson chatbot?"Answer by GuptaRohit
https://developer.ibm.com/answers/answers/453056/view.html
Its very easy. if your context variables are $x and $y.
To perform addition just use
<?$x+$y?>
similarly for other operations.
But just confirm that both are integer numbers.
If they are in string then convert them to Int by using
<?$x.toInt()+$y.toInt()?>
Try it.Wed, 13 Jun 2018 04:16:16 GMTGuptaRohit