X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

VBScript Atn Function


VBScript Reference Complete VBScript Reference

The Atn function returns the arctangent of a specified number.

Syntax

Atn(number)

Parameter Description
number Required. A numeric expression

Examples

Example 1

<%

response.write(Atn(89) & "<br />")
response.write(Atn(8.9))

%>

The output of the code above will be:

1.55956084453693
1.45890606062322

Show Example »

Example 2

Calculate the value of pi:

<%

Dim pi
pi=4*Atn(1)
response.write(pi)

%>

The output of the code above will be:

3.14159265358979

Show Example »

VBScript Reference Complete VBScript Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook