Function name Function _asp Foundation

Source: Internet
Author: User
Tags natural logarithm numeric value square root time interval
Function name function
Convert CBool (String) to a Boolean value
CByte (String) to a value of byte type
Ccur (string) converted to currency class value
Cdate (String) to a value of the date type
Convert Cdbl (string) to double values
Convert Cint (string) to integer values
CLNG (String) to a value of a long integer
CSng (String) to a single-precision value
Cstr (Var) conversion to String value
The STR (Var) numeric value is converted to a string
Val (String) string converted to numeric value
****** ******
****** ******
Abs (NMB) returns the absolute value of a number of children
ATN (NMB) returns the tangent of a number
Cos (NMB) returns the dazzle value of an angle
EXP (NMB) returns the secondary value of the natural exponent
INT (NMB) returns the Shaping (rounding) of a number
Fix (NMB) returns the number of plastic (shed) parts
FormatPercent (expression) return percent
Hex (NMB) returns the number of 16 in the data
Log (NMB) returns the natural logarithm
OCT (NMB) returns the number of 8 numbers
Rnd returns a random number greater than "0" and less than "1"
SGN (NMB) determines the positive and negative number of a number
Sin (NMB) returns the positive-hyun value of the angle
SQR (NMB) returns the two square root of the number
Tan (NMB) returns the tangent of a number
ASC (String) returns an ASCII string
CHR (CharCode) returns characters based on character codes
INSTR (STRING,SEARCHSTR) returns the first character position of the searched string, string, and searchstr is the searched string
InStrRev (STRING,SEARCHSTR) ditto, just start the search from the right
Lcase (Var) turns a string to lowercase
Left (STRING,NMB) returns a NMB string starting from a string
Len (String) returns the length of the string
Ltrim (String) truncate the space to the left of the string
Filter (Inputstrings,value) returns a string array of words, Inputstrings is a string group, and value is the character found in the array
Rtrim (String) truncate the space to the right of the string
Trim (String) to truncate a space before and after a string
Mid (String,start,len) returns the Len character from the start position in string
Replace (STRING,FIND,WITHSTR) in string strings, replacing the find string with Withstr
Right (STRING,NMB) returns a NMB string from the right starting from a string
Space (NMB) returns a string of specified spaces
StrComp (string1,string2) compares two strings
Ucase (string) to uppercase
****** ******
****** ******
Date () returns the current system day
DATEADD (interval,nmb,date) returns the specified time interval with a base time, interval is the interval type, yyyy-year, M-month, D-Day, H-hour, N-Min.
DateDiff (INTERVAL,NMB1,NMB2) returns two time intervals, interval meaning ditto
Datevalue (date) plays the dates part in date
Day (date) returns the number of days
FormatDateTime (date) Returns an expression formatted as a date
Hour (time) returns the number of hours
Minute (time) returns the number of minutes
Month (date) returns the month in the date
Now () returns the date and time of the system
Second (time) returns the number of seconds in
Time () returns the system's current times
Weekday (date) returns the day of the week
WeekdayName (date) returns the Chinese name of the day of the week
Year (date) returned
IsArray (Var) determines whether a variable is an array
IsDate (Var) determines whether a variable is a date
IsNull (Var) determines whether a variable is empty
IsNumeric Determines whether an expression contains a numeric value
IsObject (Var) determines whether a variable is an object
TypeName (VAR) returns the data type of a variable
****** ******
****** ******
Array (list) returns arrays
CreateObject (Class) creates an object
GetObject (pathfilename) Get File Object
Inputbox (Prompt) provides a dialog box to enter data
LBound (ARRAYP returns the smallest index of an array
Msgbox (string) Output a message box
Split (LISTSTR) returns a one-dimensional array from a list string
Ubound (array) returns the maximum index of an array

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.