math in expression editor

smallingsmalling Member, PRO Posts: 72
I am trying to get a percentage from the expression editor from the value of attributes:
(game.attributeA - game.attribute B)/(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

Sign In or Register to comment.