Hello Dean, I believe you have a couple of options available. You can do:
['628.6', '339', '0.30', '1.000']
So you need the first element of this list:
some_string = "628.6,339,0.30,1.000" split_string = some_string.split(',')split_string is now a list of strings:
['628.6', '339', '0.30', '1.000']
So you need the first element of this list:
first_element = split_string[0]At this point first_element is still a string, but you can convert it to a float and do arithmetics with it.