简体   繁体   中英

IBM Watson Conversation - Subtraction Returns Null?

I'm just trying to do a simple subtraction dialog, but I get a return of 'null' for some reason.. Addition works, it's just subtraction that returns null for some reason.

Context Variables

在此输入图像描述

Context Editor: 在此输入图像描述

Try to wrap the context variable holding that number into a toInt() or similar before subtracting.

BTW: The expression for the value looks strange. Why is the expression in quotes and not without?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM