dif (Difference)
See also: calc (Calculate expression)
$dif calculates the difference between two values. The first parameter is the minuend, all other parameters are the subtrahends.
Syntax
$dif( a , b[, c[...]] )
Parameter
Name |
Description |
a |
The minuend of the subtraction, a can be a value (e.g. ' 5 '), a list (e.g. $el(3,true) ) or a reference to a value (e.g. $el(3) ). |
Other parameters |
Other parameters of type a, the subtrahend. |
Return value
The result of the subtraction as a numerical value.
Example
$dif( $el(3), $el(4) )