Back to All

Logical Operations - Division

Hello guys,

Currently I want my bot to use the answer from a division of 2 numbers in a "IF" condition and display the appropriate answer. I created appropriate custom variables and everything. In the final answer, the bot is displaying right answers for few conditions and does not display the answer for few. More precisely, for less than and greater than conditions, the right answers are displayed but when I put Equal to symbol for decimals, the bot is not able to fetch the right answer. The bot seems to recognise several places after decimal point. What do I do when I have to precise my answer to 2 or 3 decimal places.

For ex. [IF([showVar=X]>0.53){Display}] and [IF([showVar=X]<0.54){Display}], the right answers are being displayed but when I define a specific value like [IF([showVar=X]=0.61), the bot is stuck and does not display anything.

How do i overcome this?