Calculations and Mathematical Expressions in the Robot

how can I do calculations on the robot.
example: ${value} = ${num1}+${num2}.
Thank you in advance for the help of the forum.

Hi,

I think this should do:

${value}    evaluate   $num1 + $num2
1 Like

@Guigo_Ramone Some simple mathematical operations are possible without using Evaluate.
Example:

Simple Sum. Product
    ${num1}=    Set Variable    ${10}
    ${num2}=    Set Variable    ${13}
    ${mysum}=    Set Variable    ${${num1} + ${num2}}
    ${myprod}=    Set Variable    ${${num1} * ${num2}}
2 Likes