<-- Previous || Up || Next -->

Addit Function
Math Complex Class

Public Function Addit( _
      ByVal vX As Variant _
    , ByVal vY As Variant _
    ) As Variant

"Addition"
Add two real and/or complex numbers.

Examples:
    Addit(3.3, 4.76) = 8.06
    Addit(5.2, "6|7") = "11.2|7"
    Addit("-8|-9", 5) = "-3|-9"
    Addit("1|2", "4|5") = "5|7"
    IsNull(Addit("One", "Two")) = True
    IsNull(Addit(2, Null)) = True
    IsNull(Addit(Null, Null)) = True
See also:
    + Operator (Visual Basic)
    Subtract Function
vX: First of two numbers that are to be added together. 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: Second of two numbers that are to be added together. 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.