Click to See Complete Forum and Search --> : matrix multiplication in vb


rao
April 14th, 2001, 08:38 PM
please tell me a code for multiplication of 3x3 and 3x1 matrix.
and how to set output format till 2 places after deimal.
like 4.56, 7.32.

shree
April 15th, 2001, 08:37 AM
For your first question, tell us how far you have proceeded and where you stumped.


For your second question, the MSDN writes:

The following example uses the Round function to round a number to two decimal places:

Dim MyVar, pi
pi = 3.14159
MyVar = Round(pi, 2) ' MyVar contains 3.14.