(1- number)


Subtract 1 from the number.


This function subtracts 1 from the number. You can use a real number or an integer. This function takes exactly one argument.

Examples

This expression Returns
(1- 8) 7
(1- 9.75) 8.75000
(1- -18) -19

NOTE This function is useful as an decrement counter.

Tell me about...

(- number1 number2 ...)

(1+ number)

(setq symbol1 statement1 [symbol2 statement2] ...)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language