1 2 Previous Next 24 Replies Latest reply on Apr 18, 2019 1:25 PM by Michael McClanahan

    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