Section A.11. Mathematical and Numeric

A 11 Mathematical and Numeric

Abs Function

Returns the absolute value of a given number

Atn Function

Returns the arctangent of a number

Cos Function

Returns the cosine of an angle

Exp Function

Returns the base of a natural logarithm raised to a power

FormatNumber Function

Returns a number formatted according to a specified format

FormatPercent Function

Returns a number formatted using the % symbol

Fix Function

Returns the integer portion of number

Int Function

Returns the integer portion of a number

Log Function

Returns the natural logarithm of a number

Randomize Sub

Initializes the random number generator

Rnd Function

Returns a random number

Round Function

Rounds a number

Sgn Function

Indicates the sign of a number

Sin Function

Returns the sine of an angle

Sqr Function

Returns the square root of a number

Tan Function

Returns the tangent of an angle

Part I: The Basics


Program Structure

Data Types and Variables

Error Handling and Debugging

VBScript with Active Server Pages

Programming Outlook Forms

Windows Script Host 5.6

VBScript with Internet Explorer

Windows Script Components

Part II: Reference

Part III: Appendixes

Appendix A. Language Elements by Category

Appendix B. VBScript Constants

Appendix C. Operators

Appendix E. The Script Encoder

show all menu

Vbscript in a Nutshell
VBScript in a Nutshell, 2nd Edition
ISBN: 0596004885
EAN: 2147483647
Year: 2003
Pages: 335
Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net