2 Replies Latest reply: Jan 7, 2017 3:37 PM by Prasanna Chandran RSS

    Arithmetic Expression - Negative to Positive Values

    Prasanna Chandran

       

      The field Difference points to the variable $(Difference). This variable was defined as the difference between two fields. I am getting this correct. I have defined the field Mod Difference as $(Difference)*-1 . That is I have multiplied by -1. I am getting different values as result. I am not able to understand why the values are totally different if multiplied by -1. Is any thing wrong with my expression?

       

      I actually wanted to convert values to positive if the difference was negative. Is there any function to do it or do I need to resort to this expression of multiplying by -1?