Bookshelf Home | Contents | Index | PDF |

Siebel VB Language Reference > VB Language Reference > ## Atn FunctionThis standard VB function returns the angle (in radians) for the arctangent of the specified number. ## Syntax## Returns## UsageThe Atn function assumes To convert radians to degrees, multiply by (180/PI). The value of PI is approximately 3.14159. ## ExampleThis example finds the roof angle necessary for a house with an attic ceiling of 8 feet (at the roof peak) and a 16-foot span from the outside wall to the center of the house. The Atn function returns the angle in radians; it is multiplied by 180/PI to convert it to degrees. Sub Button_Click ## See AlsoCos Function |

Siebel VB Language Reference |