RE: JEXL arithmatic strangeness

2005-06-16 Thread Eric Lapierre


   Here is how I do it:


  
 
  
  
 
  
  
 
  
  
  
 
 
 
  

-Original Message-
From: Wim Deblauwe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 16, 2005 3:00 AM
To: Maven Users List
Subject: JEXL arithmatic strangeness


Hi,

does somebody know why division does not work in JEXL? I have the following
fragment:





total: ${passrateTotal}

total: ${passrateTotal}
nrOfProjects: ${nrOfProjects}

Average pass rate (not-weighed):  ${averagePassrate}

${averagePassrate2}

The variable 'averagePassrate' is empty somehow. However when I change the
division ('/') by multiplification or addition or subtraction, the math is
performed correctly. Any ideas?

regards,

Wim

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




JEXL arithmatic strangeness

2005-06-16 Thread Wim Deblauwe
Hi,

does somebody know why division does not work in JEXL? I have the
following fragment:





total: ${passrateTotal}

total: ${passrateTotal}
nrOfProjects: ${nrOfProjects}

Average pass rate (not-weighed): 
${averagePassrate}

${averagePassrate2}

The variable 'averagePassrate' is empty somehow. However when I change
the division ('/') by multiplification or addition or subtraction, the
math is performed correctly. Any ideas?

regards,

Wim

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]