Forum Discussion
Wave_Crest_Hold
15 years agoContributor
Hi Rob,
I tried as u said
I have 2 properties balance=58961.0 and ExpBalance=58951.0
In Groovy:
def a = context.expand( '${Properties#balance}' )
def b = context.expand( '${Properties#ExpBalance}' )
def c = a + b
log.info ( a + " + " + b + " = " + c )
Result coming as :
Fri Feb 04 11:39:15 IST 2011:INFO:58961.0 + 58951.0 = 58961.058951.0
I am not getting the total amount
I tried as u said
I have 2 properties balance=58961.0 and ExpBalance=58951.0
In Groovy:
def a = context.expand( '${Properties#balance}' )
def b = context.expand( '${Properties#ExpBalance}' )
def c = a + b
log.info ( a + " + " + b + " = " + c )
Result coming as :
Fri Feb 04 11:39:15 IST 2011:INFO:58961.0 + 58951.0 = 58961.058951.0
I am not getting the total amount