28 th Jun 2022 22:20:08
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
Type Conversion Functions Type Conv. Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

CCur Function - Visual Basic 6.0 (VB 6.0)

Returns an expression that has been converted to a Variant of subtype Currency.
Syntax:
CCur(expression)
Parameter Description
expression Required. The expression argument is any valid expression.

Return Data type:
Currency
Example:
Statement Result Remark
CCur(1) 1  
CCur(1.5) 1.5  
CCur(1.23456) 1.2346  
CCur(0) 0  
CCur(-1) -1  
CCur(123.56782) 123.5678  
CCur(123.56785) 123.5679  
CCur(256) Error Overflow. Allowed 0 - 255
CCur(unknown) 0 uninitialized Variable
CCur(Null) Null  
CCur("abcd") Error Type mismatch
CCur(True) -1 True - Non Zero
CCur(False) 0 False - Zero
Go to top

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





© 2021 Chennaiiq.com. All Rights Reserved.

5322