Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1567 by [email protected]: arithmetic operations
http://code.google.com/p/robotframework/issues/detail?id=1567

I retrieved the values for two variables and tried to divide them, but I got the following error,

TypeError: unsupported operand type(s) for /: 'set' and 'int'

Syntax used:

       ${max}=  Get From List   ${trade_range}  1
         // Output is 99.93
       ${min}=  Get From List   ${trade_range}  0
         // Output is 0.03

Now I need to divide ${min} by 2 and then add to {max}

       ${a}=   Evaluate    ${max}+{min}/2
Output is '99.93+{min}/2' failed: TypeError: unsupported operand type(s) for /: 'set' and 'int'

Please let me know whether we can perform division operation like this.

Addtional details:

Robot Framework version:1.2.1.win-amd64
Interpreter: Python
Version:2.7.5.amd64
Operating system: Windows 7


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to