Support Topics Documentation Slack YouTube Blog

Codeless - string to number


(Philippe Homond) #1

Hi,
I’m trying to find the minimum in a list of string like this one [“10.0”, “9.80”] but the string “10.00” is < compared to string “9.80”.
=> is there a solution with codeless to convert a string to a number ?
Thank you.


(Philippe Homond) #2

Hello,
Found a workaround:

  • s is a string
  • set t = s-1
  • set t = t+1
    t is now a number, with the same value as s.

(Mark Piller) #3

You could also do this:
string-to-num


(Philippe Homond) #4

Yes, it’s better. Thank you Mark.