if X=123 then
${X}=123
and
-${X}=-123
No need for any function calls, just pre-prend a "-" character where
you want to use the number.
S
On 27/06/06, Richard <[EMAIL PROTECTED]> wrote:
Hi all, i have started to use jmeter two weeks ago, i need to calculate
the value of next function:
f(x) = -x; where x is a jmeter variable... after reading jmeter help and
some of
the messages on the list i've tried with:
${__javascript( (-1) * ${x} , number)}
i've also tried
${__intSum(0, - ${x}, number)}
Of course isn't working LOL... i hope someone can help me with
this...thanks in advance.
Dalinger Ricardo Luis
Toba programmer
SIU
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]