Signature (Visual Basic / VBA)
Public Function MultiplyIntegersSymbolically( _
ByVal vNumOne As Variant _
, ByVal vNumTwo As Variant _
) As Variant
Code Example
? MultiplyIntegersSymbolically("123", "4567")
561741
? MultiplyIntegersSymbolically(123, "4567")
561741
? MultiplyIntegersSymbolically("12345678901234567890", "987654321987654321")
12193263124676116323609205901126352690
? MultiplyIntegersSymbolically("9238923892389238923898239823", "238978238728378232378238")
2207901759548712982009761642626075296286155370171874
? MultiplyIntegersSymbolically(Null, "2839839")
Null
Parameters
| Parameter | Description |
|---|---|
| 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. |
Return Value
Function returns the product in the form of a numeric string.
Notes & Version History
| 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. |