simple mathematical expression with max object
Hi there,
in single expression notation style using the expr object you have to choose between int OR float, but you can still feed ints into it.
expr uses the symbols $i1 - $i9 or $f1 - $f9 for "variables" or better inlets.
[expr 5*$f1+3*$f2-6*$f1*$f2]
you can add non-required parentheses and spaces as much as you want, they will be ignored.
[expr (5*$f1) + (3*$f2) - (6*$f3*$f4)]
of course as a beginner you should first start using math objects, i.e. even if you know expr by heart from another language already.
one of the reasons why to learn it with basic objects is that there is no expr for audio signals in case you need those, too.
