3 Replies Latest reply on Sep 7, 2015 2:14 AM by Ey Tan

    String of rounded figure showing more decimal places than formula

    Ey Tan

      Hello all,

       

      I need to show a percentage in string format.

       

      I've used this:

      str(round(([measure]),3)*100) + "%"

       

      and this

       

      str(round([measure]*100,1)) + "%"

       

      in some cases I'm getting results like this

       

      22.299999999999999%

       

      How do I have it show 22.3% as a string?

       

      Thanks a lot