Function Math Complex Class

Mult

"Multiply" or "Multiplication" Multiply two real and/or complex numbers.

Signature (Visual Basic / VBA)

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

Code Example

    Mult(3.3, 4.76) = 15.708
    Mult(5.2, "6|7") = "31.2|36.4"
    Mult("-8|-9", 5) = "-40|-45"
    Mult("1|2", "4|5") = "-6|13"

Parameters

Parameter Description
vX First of two numbers that are to be multiplied. 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 multiplied. Function returns Null if vY is Null or cannot be fixed up to a real or complex number.

See Also