Arithmetic on variables?


Would it be possible to perform some simple arithmetic operations (addition, multiplication) on variables with a numerical value and use the result as a new variable?


do you developing you custom plugin?
for example if we have some sql plugin in use, we can write query like:

select hostname, max(network.send* $multiplier)

after that query variables replaced with variable value, for example

select hostname, max(network.send* 1024)


I was hoping I would be able to do something like:

$NewVar = $MyVar1 * $MyVar2