Asterisk Project : Function_DEC

Asterisk Project : Function_DEC This page last changed on Mar 30, 2011 by wikibot. # DEC() ### Synopsis Decrements the value of a variable, while returning the updated value to the dialplan ### Description Decrements the value of a variable, while returning the updated value to the dialplan Example: DEC(MyVAR) - Increments MyVar Note: DEC(${MyVAR}) - Is wrong, as INC expects the variable name, not its value ### Syntax
    DEC(variable)
##### Arguments `variable` - The variable name to be manipulated, without the braces. ### See Also ### Import Version This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42