(- number1 number2 ...)
Subtract all following numbers from the first number.
This function returns the difference between the numbers. When you have only two numbers, the function subtracts number2 from number1. If there are more than two numbers, subtract the sum of the second through the last number (number2 through numbern) from the first, number1.
Examples
| This expression | Returns |
|---|---|
| (- 5 2) | 3 |
| (- 6 [-5]) | 11 |
| (- 9 3 11) | 5 |
| (-) | 0 |
| (- 2) | -2 |
| (- 4 1.0) | 3.00000 |
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español