21 st Aug 2014 20:05:44
Hai Friend , Sign In
Home
World
INDIA
Chennai City
Games
Developers
Members
Birthday
IP 2 Location
Search
Astrology
G. K.
Story
Tamil Nadu Government Holiday List 2013 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 9150 170 357.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
Sgn Function Sgn Function
Math Function Math Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

Abs Function - Visual Basic 6.0 (VB 6.0)

Returns a value of the same type that is passed to it specifying the absolute value of a number.
Syntax:
Abs(number)
Parameter Description
number Required. A numeric expression.

Return Data type:
Variant (Double | Integer | Long)
Example:
Statement Result Remark
Abs(1) 1  
Abs(533) 533  
Abs(33.57) 33.57  
Abs(-1) 1  
Abs(-533) 533  
Abs(-33.57) 33.57  
Abs(0) 0  
Abs(unknown) 0 uninitialized Variable
Abs(Null) Null  
Abs("abcd") Error Type mismatch
Abs(True) 1 True - Non Zero
Abs(False) 0 False - Zero
Go to top

Migration from Visual Basic 6.0 (VB 6.0) to
  Abs Function in VB Script (VBS)
  Abs Function in JScript (JS)
  Abs Function in ASP (Active Server Page)
  Abs Function in PHP Script
  Abs Function in MS-Access
  Abs Function in MS SQL Server
  Abs Function in Oracle
  Abs Function in C Language
  Abs Function in C++ Language
  Abs Function in Foxpro
  Abs Function in Fortran
  Abs Function in MS Excel Sheet
Go to top
 





© 2005 - 2007 Chennaiiq.com. All Rights Reserved.

Our Sites: ChennaiIQ.com || Tamil Calendar || Tamil Panchangam || KP Astrology
Our Blogs: Tamil Calendar



160