
Announcements
Hi all,
Hoping someone can help me as im tearing my hair out a little
Im setting up a server based flow to scrape some info from an automatically generated email.
I need to add up some of the numbers from one section and for some reason it I cant seem to be able to convert a string thats a single number into a float to add them. I have tried all sorts.
As you can hopefully see from the picture, ive tried passing the string into something that removes the spaces in case this was the reason it wasnt working, ive tried setting float variable with the string, ive been on youtube and even chat gpt - id be very grateful for any suggestions, but i keep getting variations of the following error message "Unable to process template language expressions in action 'Compose_4' inputs at line '0' and column '0': 'The template language function 'float' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'."
I am nor sure what could be wrong with the string representaion but you can check if the variable is a valid using isFloat function
isFloat(outputs('Compose_3'))