MathAbs
Posted by Mohammad Rahhal, Last modified by Laith Ghawi on 03 July 2019 04:36 PM

Syntax

Public Function MathAbs(Number As Variant)As Variant

Description

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,value of type Variant.

Return value

Returns the absolute value to the given numeric value.

Sample

Public Sub main()

MAlertMessage MathAbs(-20) 'will return 20.

End Sub

See Also


Back to VTL Client Script Index

(2 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions