28 th Jun 2022 21:13:32
Hai Friend , Sign In
Home
World
INDIA
Chennai City
Games
Developers
Members
Birthday
Search
Astrology
G. K.
Story
Tamil Nadu Government Holiday List 2018 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 84894 28 444.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
Round Function Int Function
Round Function Round Function
Type Conversion Functions Type Conv. Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

Fix Function - Visual Basic 6.0 (VB 6.0)

Returns the integer portion of a number.
Syntax:
Fix(number)
Parameter Description
number Required. Any number or any valid numeric expression.

Return Data type:
Variant (Integer, Long, Single, Double)
Example:
Statement Result Remark
Fix(1) 1  
Fix(1.5) 1  
Fix(2.5) 2  
Fix(-2.5) -2  
Fix(1234.5678) 1234  
Fix(123.45678) 123  
Fix(-123.4567) -123  
Fix("-123.4567") -123  
Fix(unknown) 0 uninitialized Variable
Fix(Null) Null  
Fix("abcd") Error Type mismatch
Fix(True) -1 True - Non Zero
Fix(False) 0 False - Zero
Go to top

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





© 2021 Chennaiiq.com. All Rights Reserved.

4170