- (Math)

Subtracts the second of the given values from the first one.

Arguments

minuend
is a natural or integer or real number.
subtrahend
must be of the same type as
minuend
.

Return values

difference
as a natural or integer or real number, according to argument types. In case of overflow for natural numbers, the result modulo 2^N is returned, where N is the bit count of the type. Negative integers are stored as two's complement, and behave correspondingly in case of overflow.

Example

2 3 - print LF print 2.0 3.0 - print
Output:
-1 -1.000000