Forum Discussion
SmartBear_Suppo
Alumni
13 years agoHi,
you might need to convert these values to their corresponding number types, ie
def quart = Float.parseFloat(context.expand( '${Validate Fluid#Quarts}' )) //get value from datasource
def liter = Float.parseFloat( context.expand( '${Validate Fluid#Liters}' )) // get value from datasource
(or whatever type is appropriate)
Does that help?
regards!
/Ole
SmartBear Software
you might need to convert these values to their corresponding number types, ie
def quart = Float.parseFloat(context.expand( '${Validate Fluid#Quarts}' )) //get value from datasource
def liter = Float.parseFloat( context.expand( '${Validate Fluid#Liters}' )) // get value from datasource
(or whatever type is appropriate)
Does that help?
regards!
/Ole
SmartBear Software