String to float

uiautomation
studio
variable

#1

Hi,

i have String like "1.28 MB ", I need to convert this string to Float value like " 1.28 "

How can i do this in UiPath…any suggestions, it would be appreciated…:smiley:


#2

Take a look at the Split method to the get value you want and then convert it using TryParse.

Something that seems related to what you want to do:


#3

:smiley:Thanks for your valuable reply…