Live Chat Software by Kayako
Knowledgebase
Knowledgebase : Technical Support > API > Client API's/VTL > VTL Client Scripts > Math Functions
SYNTAX Public Function MathMin(Number1 As Double, Number2 As Double) As Double This function is used to return the minimum number between two numbers. PARAMETERS Key Description  Number 1 The first value that wants to compare it, a va...
SYNTAX Public Function MathMax(Number1 As Double, Number2 As Double) As Double This function is used to return the maximum number between two numbers. PARAMETERS Key Description  Number 1 The first value that wants to compare it, a va...
SYNTAX Public Function MathLog10(Number As Double) As Double This function is used to return the base 10 logarithm for the given number. PARAMETERS Key Description  Number Value that wants to get the base 10 logarithm for it greater t...
SYNTAX Public Function MathCeil(Number As Double) As Integer This function is used to return the smallest integer greater than or equal to the given number. PARAMETERS Key Description  Number Value that wants to get the ceil for it, a...
SYNTAX Public Function MathArcSin(Number As Double) As Double The inverse function of the sine, which is used to return the angle that has sine equal to the given number. PARAMETERS Key Description  Number Value between -1 and 1 value...
SYNTAX Public Function MathArcCos (Number As Double) As Double The inverse function of the cosine,  Which is used to return the angle that has cosine equal to the given number. PARAMETERS Key Description  Number Value between -1 and 1...
SYNTAX  Public Function ArrayCompare(ByRef array1 As Variant, ByRef array2 As Variant) As Integer This function is used to compare between the element of two given arrays of the same type. PARAMETERS Key Description  array1 First arra...
SYNTAX Public Function MathTan(Number As Double) As Double This function used to return the tangent of the specified angle. PARAMETERS Key Description  Number Angle value of type double. RETURN VALUE Returns a double value. SAMPL...
SYNTAX Public Function MathSqr(Number As Double) As Double This function used to return the square root of the specified given number. PARAMETERS Key Description  Number Positive numeric value of type Double. RETURN VALUE Returns t...
SYNTAX Public Function MathSgn(Number As Variant) As Variant This function used to return the sign of the given number. PARAMETERS Key Description  Number numeric value to know the sign for it if positive or negative,value of type Var...
SYNTAX Public Function MathSin(Number As Double) As Double This function used to return sine value for the given angle. PARAMETERS Key Description  Number Angle value ,value of type double. RETURN VALUE Returns the sine value measu...
SYNTAX Public Function MathRound(Number As Double, Optional digitNumber As Long) As Variant This function used to return the number rounded to the nearest specified digit. PARAMETERS Key Description  Number The specified to be rounded...
SYNTAX Public Function MathRnd(Optional Number As Double) As Single This function is used to produce random number less than 1 but greater than or equal to zero.  PARAMETERS Key Description  Number An optional numeric value which dete...
SYNTAX Public Sub Randomize(Optional Number As Double) This sub procedure is used to initially seed the random number generator. Then, to generate a random number, you must use the MathRnd [http://www.hybrid-solutions.com/support/index.php?/Knowledgeb...
SYNTAX Public Function MathLog(Number As Double)As Double This function returns the logarithm for a specified given number. PARAMETERS Key Description  Number A numeric value which we want to get the Logarithm, value of type Double. ...
SYNTAX Public Function MathExp(Number As Double)As Double This function is used to return value of E which is 2.718281828 raised to the power for a given number. PARAMETERS Key Description  Number Power value ,value of type double. R...
SYNTAX Public Function MathCos(Number As Double)As Double This function is used to return the cosine value for a given angle. PARAMETERS Key Description  Number The angel value to get the cos,value of type Double. RETURN VALUE Retu...
SYNTAX Public Function MathAtn(Number As Double) As Double This function is used to return the angle that has a tangent equal to a given number. PARAMETERS Key Description  Number numeric to get tan angle for it, value of type double....
SYNTAX Public Function MathAbs(Number As Variant)As Variant This function is used to returns the absolute value to a given numeric value.  PARAMETERS Key Description  Number numeric value that want to get the absolute value for it,val...
Help Desk Software by Hybrid Solutions