Math.Abs() function returns the absolute value of the specified number.
Input parameter data type
Math.Max() function can take any of the following data type of input parameters:
· SByte
· Short
· Integer
· Long
· Single
· Double
· Decimal
Example
MsgBox(Math.Abs(-100))
Return Value
It displays 100 in the message box.
0 comments:
Post a Comment