**Public Function Subtract( _
ByVal vX As Variant _
, ByVal vY As Variant _
) As Variant**

**"Subtraction" or "Minus" **

Real or Complex subtraction of two numbers.

**Examples:** Subtract(3.3, 4.76) = -1.46
Subtract(5.2, "6|7") = "-0.8|-7"
Subtract("-8|-9", 5) = "-13|-9"
Subtract("1|2", "4|5") = "-3|-3"

**See also:** - Operator (Visual Basic)
Addit Function

**vX:** The number from which vY is subtracted. Function returns Null if vX is Null or cannot be fixed up to a real or complex number (as defined by the ComplexStringToReals function). Complex numbers are represented within strings as "R|I" where R is the real part and I is the imaginary part. **vY:** The number that will be subtracted from vX. Function returns Null if vY is Null or cannot be fixed up to a real or complex number.

Copyright 1996-1999 Entisoft

Entisoft Tools is a trademark of Entisoft.