math in expression editor
smalling
Member, PRO Posts: 72
I am trying to get a percentage from the expression editor from the value of attributes:
(game.attributeA - game.attribute /(game.AttributeA)*100
I also this one:
(game.AttributeC +game.attributeD)/game.attributeD
I'm not getting any results when I display text. I'm sure it has to do with the structure of the expression and ( )s. Any help would be greatly appreciated.
(game.attributeA - game.attribute /(game.AttributeA)*100
I also this one:
(game.AttributeC +game.attributeD)/game.attributeD
I'm not getting any results when I display text. I'm sure it has to do with the structure of the expression and ( )s. Any help would be greatly appreciated.
Comments