Calculates the area of objects.
Pass formula argument as string and values as an array.
CalcArea returns a double.
Needs Pi() as function
The following chart displays the acceptable values of the formula and values argument:
triangle > array(0) = base, array(1) = height
square > array(0) = side
rectangle > array(0) = side1, array(1) = side2
parallelogram > array(0) = base, array(1) = height
trapezoid > array(0) = base1, array(1) = base2, array(2) = height
circle > array(0) = radius
ellipse > array(0) = radius1, array(1) = radius2
Access is limited.
Login here using your Linkedin account. to see or download code.
No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Bold.codes
Linkedin Login