Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
eyes:logics:calculate [2017/06/13 07:26]
sfiedle [Calculate]
eyes:logics:calculate [2017/06/13 07:43] (current)
sfiedle [Concept]
Line 3: Line 3:
  
 ===== Usage ===== ===== Usage =====
-This flow control ​element can apply standard arithmetic onto a Variable. Furthermore,​ the modulo (%) and exponentiation (^) are implemented.+This Flow Control ​element can apply standard arithmetic onto a Variable. Furthermore,​ the modulo (%) and exponentiation (^) are implemented
 +Important to remember is that a calculation of a Variable of type decimal and a Variable of type integer returns an integer Variable. 
 + 
 +To edit the formula fill in the field in the Properties window.
 ===== Example ==== ===== Example ====
 +=== Addition ===
 {{ :​eyes:​logics:​calc.png |}} {{ :​eyes:​logics:​calc.png |}}
-{{ :​eyes:​logics:​calproperties.png |}} +{{ :​eyes:​logics:​calculationproperties.png?​nolink ​|}}
-{{ :​eyes:​logics:​calcupdate.png |}}+
  
 +=== Different types of Variables ===
 {{ :​eyes:​logics:​example3.png?​nolink |}} {{ :​eyes:​logics:​example3.png?​nolink |}}
  
Line 26: Line 30:
  
 ===== Concept ===== ===== Concept =====
- 
 [[https://​www.lua.org/​pil/​3.1.html|Arithmetic Operators in Lua]] [[https://​www.lua.org/​pil/​3.1.html|Arithmetic Operators in Lua]]