Recommended: Several excellent tools for developing ASP Today I will introduce to you several excellent tools for developing ASP. 1. Microsoft FrontPage: Based on HTML pages, it can not only visually program the site, but also manage the entire website platform. 2. Macromedia Dreamverver: and FrontPage classes
【name】
Abs
【category】
Mathematical functions
【Actoform】
Abs(number)
【parameter】
Required. The Number parameter is any valid numeric expression
【Return Value】
The same number type
【Exception/Error】
none
【describe】
Returns the absolute value of the parameter number. The absolute value of a number is the value after removing the positive and negative signs. For example, both ABS(-1) and ABS(1) return 1. Abs(5.2)=5.2, Abs(-5)=5
【Example】
DimMyNumber
MyNumber=Abs(50.3)' returns 50.3.
MyNumber=Abs(-50.3)' returns 50.3.
【Remark】
Returns Null if number contains Null, and 0 if number is an uninitialized variable.
-----------------------------------------------------------------
【name】
Atn
【category】
Mathematical functions
【Actoform】
Atn(number)
【parameter】
Required, the number parameter is a Double or any valid numeric expression.
【Return Value】
Double Type
【Exception/Error】
none
【describe】
Returns the arctangent value of the parameter number.
【Example】
Dimpi
pi=4*Atn(1)' calculates pi.
【Remark】
The parameter value of the Atn function is the ratio of both sides of a right triangle and returns the angle in radians. This ratio is the quotient of the opposite side length of the angle divided by the quotient of the adjacent side length of the angle. The range of values is between -pi/2 and pi/2 radians. To convert the angle to radians, multiply the angle by pi/180. To convert radians to angles, multiply radians by 180/pi.
Note: Atn is Tan's inverse trigonometric function. Tan's parameter value is angle, which returns the ratio of the two sides of a right triangle. Do not confuse Atn and cotangent functions. The value of the cotangent function is the inverse of the tangent function value, cotangent=(1/tangent).
Share: 20 very useful examples in ASP programming (II) 11. Is there a way to protect your source code so that you can’t see it? Answer: You can download a Microsoft Windows Script Encoder, which can encrypt the asp script and client javascript/vbscript script, but after the client is encrypted, only ie5 can
7 pages in total Previous page 1234567Next page