Forum Discussion

Wave_Crest_Hold's avatar
Wave_Crest_Hold
Contributor
15 years ago

Help required for conversion of string to integer in groovy

Hi,

I'm in a situation where I cannot convert a string to integer using groovy script. I have also tried for a solution by searching elsewhere before approaching here. Hope this would end my search.

Thanks!
  • Jasper175's avatar
    Jasper175
    Frequent Contributor
    Can you elaborate:
    > Is the string a response from an API?
    > Is "string" you're referring to an equation or an actual number like 000000075 and you want to see 75?

    Rob