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

Multiply Integers Symbolically Function
Math Symbolic Class

Public Function MultiplyIntegersSymbolically( _
      ByVal vNumOne As Variant _
    , ByVal vNumTwo As Variant _
    ) As Variant

"Multiply Two Positive Integers Symbolically"
Both numbers are (usually) passed via strings which have no arbitrary length limits.

Examples:
    ? MultiplyIntegersSymbolically("123", "4567")
    561741
    ? MultiplyIntegersSymbolically(123, "4567")
    561741
    ? MultiplyIntegersSymbolically("12345678901234567890", "987654321987654321")
    12193263124676116323609205901126352690
    ? MultiplyIntegersSymbolically("9238923892389238923898239823", "238978238728378232378238")
    2207901759548712982009761642626075296286155370171874
    ? MultiplyIntegersSymbolically(Null, "2839839")
    Null
See also:
    AddIntegersSymbolically Function
    Mult Function
vNumOne: First of two base-10, positive integer numeric strings which will be multiplied symbolically. Function returns Null if vNumOne is Null or cannot be fixed up to a String. This string should represent an positive integer (it must have no sign nor floating-point portion); it should contain only the characters 0..9.

vNumTwo: Second of two base-10, positive integer numeric strings which will be multiplied symbolically. Function returns Null if vNumTwo is Null or cannot be fixed up to a String. This string should represent an positive integer (it must have no sign nor floating-point portion); it should contain only the characters 0..9.

Note: This function does not ensure that the arguments vNumOne and vNumTwo contain only numeric digits (the characters from "0" through "9"). Its result is meaningless in such cases, and the result of this function in such cases is undefined.
Return value: Function returns the product in the form of a numeric string.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.