Nyquist / XLISP 2.0  - 
Contents |
Tutorials |
Examples |
Reference
1−
  | Type: | - | function (subr) | 
  | Source: | - | xlmath.c | 
Syntax
- (1- expr)
- expr - integer or floating point number/expression
 returns - the number minus one
 
Description
The '1-' [decrement] function subtracts one from a number
and returns the result.
Examples
(1- 1)     => 0
(1- 99.6)  => 98.6
(1- 1 2)   => error: too many arguments
See also:
  Back to Top
Nyquist / XLISP 2.0  - 
Contents |
Tutorials |
Examples |
Reference