5 Replies Latest reply: Apr 1, 2014 9:48 AM by Boris Tyukin RSS

    variable expansion with multiple parameters containing commas

      Hi all,

       

      I have the following multiple parameters function:

       

      round( ($1) * 86400 ) - round( ($2) * 86400 )

       

      defined as eDateDiff in Variable Overview.

       

      I call it from an expression chart like that:

       

      $(eDateDiff(DATA_APP+NumMax(1,DURATA)*FRAZ*1440,DAY+DALLE))

       

      unfortunately the comma in the NumMax is interpreted as the parameter separator of the eDateDiff function and I get this:

       

      round( (DATA_APP+NumMax(1) * 86400 ) - round( (DURATA)*FRAZ*1440) * 86400 )

       

      which is clearly wrong.

       

      What am I doing wrong? Any suggestion?

       

      Thank in advance for you help,

       

      Fil