28 th Jun 2022 21:33:54
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
Format Function Format Function
Val Function Val 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

Str Function - Visual Basic 6.0 (VB 6.0)

Returns a String representation of a number.
Syntax:
Str(number)
Parameter Description
number Required. Any valid numeric expression.

Return Data type:
String
Example:

A leading space is always reserved for its sign.

Statement Result Remark
Str(1)  1  
Str(1.5)  1.5  
Str(987654)  987654  
Str(-987654) -987654  
Str("abc") Error Type mismatch
Str(unknown) 0 Uninitialized
Str(Null) Null  
Str(True) True  
Str(False) False  
Str(5 > 10) False  
Str(5 < 10) True  

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





© 2021 Chennaiiq.com. All Rights Reserved.

4519