-- Decrement

Symbol

Symbol

Preferred

5.0

-- decrements the value of the right parameter by one and returns the result. If the right parameter is a variable then the result is stored in the variable.

The result will be either an integer or a decimal value depending on the type of the right parameter. This symbol cannot be used with string values.

[Output: --Right_Parameter]

<?LassoScript
  Output: --Right_Parameter;
?>

[--Right_Parameter]

<?LassoScript
  --Right_Parameter;
?>

-- Decrement