Forums/Help from the Community/Tips & Tricks

Desktop Manager API can do math

John
posted this on March 04, 2011 18:22

Did you know that Desktop Manager API can be used in your script to do math ?

Let's say you need to need to solve this operation : (2*(11,5-10)) + 1024 = ?

Hereunder is a script example :

operation$ = EvaluateAsInteger("(2*(11,5-10)) + 1024")
LogLine("The result is : operation$")

Result : see attached file

Remark > the result must be an integer.