javascript - Groovy Script Decimal vs. Whole Numbers -
this more of elementry soapui groovy scdript question. in response returns 100.000 i'm assert return value < response if do: max = 100 resonse = ('${responsetc#xyz..."') assert resposne < max "error (java.lang.integer cannot cast java.lang.string" i have found ways around want ask experts - "expert" way of handling this. thank you, rob the natural , "expert" way is: int max = 100 def response = responsestring.tofloat() assert max > response