Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
eyes:logics:calculate [2017/06/13 07:39] sfiedle [Example] |
eyes:logics:calculate [2017/06/13 07:43] (current) sfiedle [Concept] |
||
---|---|---|---|
Line 6: | Line 6: | ||
Important to remember is that a calculation of a Variable of type decimal and a Variable of type integer returns an integer Variable. | 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 to be solved fill in the text field in the Properties. | + | 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:calculationproperties.png?nolink |}} | {{ :eyes:logics:calculationproperties.png?nolink |}} | ||
+ | === Different types of Variables === | ||
{{ :eyes:logics:example3.png?nolink |}} | {{ :eyes:logics:example3.png?nolink |}} | ||
Line 28: | 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]] |