* Manuel A. Fernandez Montecelo <manuel.montez...@gmail.com>, 2016-08-14, 21:39:
Also, if you substitute e.g. "255*.94" for "255*94/100", make sure that you use parentheses as in "(255*94)/100", otherwise you can end up with "255*(94/100) -> 255*0 -> 0" for all such values (I cannot recall the rules now, but I think that / takes precedence over *).
No, "/" and "*" (and "%") have the same precedence and left-to-right associativity. So a*b/c is equivalent to (a*b)/c.
-- Jakub Wilk