Thursday, September 16, 2010

VBScript CStr function



CStr function
Return expression, which has been converted to String sub-type of Variant.
CStr (expression)
expression argument is any valid expression.
Explain
Usually, you can use the subtype conversion functions to write code to display the results of certain operations should be expressed as a specific data type, instead of the default type. For example, use CStr to force the outcome String.
CStr function to be used to replace Str function to the String data type from the other sub-types of internationally recognized format. For example, the identification of the decimal separator depends on the system locale.
expression according to the decision to return the data in the following table:
If the expression for the CStr returns
Boolean string that contains True or False.
Date string, the short date format contains the system date.
Null聽杩愯鏃堕敊璇?
Empty zero-length string ().
Error聽瀛楃涓诧紝鍖呭惈璺熼殢鏈夐敊璇彿鐮佺殑鍗曡瘝 Error銆?br />Other numerical string that contains this number.

The following example figures use CStr function to convert String:
Dim MyDouble, MyStringMyDouble = 437.324聽聽聽聽聽聽聽聽 '' MyDouble 鏄弻绮惧害鍊笺? MyString = CStr (MyDouble)''MyString contains 437.324.







相关链接:



Mpg to mov



Policy of spring



Convert avi to 3gp



John XINHUA introduction of Guangxi SUGAR set EAM2008



Teach You From Complex Background Using Photoshop Cutout Dress



eBiz.scm Introduction



Computer Fraud, Although He Is Alleged To Have Bought



Special MO CD 230MB, 540MB, 640MB, 1.3GB



Avc player



Review 0



"Deceiving" or "enlightened approach"



Wizard Chat And Instant Messaging



Xbox 360 Avchd



Teaching And Training Tools Guide



Easy to use Terminal And Telnet Clients



Flash MX Overview 1



Shanda chairman Chen Tianqiao position: can Not ignore the profit decline Sina



No comments:

Post a Comment