1 2 Previous Next 23 Replies Latest reply on Jan 11, 2018 11:13 AM by Srini Ramanathan

    Round and then convert to a string

    Thomas Cook

      I have a float that I want to round and display as a string.

       

      STR(ROUND([A_Float_Value],2))  displays the values as something like 345.8799999999999999 where I am looking for 345.88

       

      I have to convert to a string  because it is part of CASE statement and that displays different dimensions (which are all strings) based on a selectable parameter.

       

      Any ideas?

        1 2 Previous Next