version 3

Arctan (number) Number

Parameter | Type | Description | |

number | Number | Tangent for which to calculate the angle | |

Function result | Number | Angle in radians |

Description

`Arctan` returns the angle, expressed in radians, of the tangent `number`.

**Note**: 4D provides the predefined constants `Pi`, `Degree,` and `Radian`. `Pi` returns the Pi number (3.14159...), `Degree` returns one degree expressed in radians (0.01745...), and `Radian` returns one radian expressed in degrees (57.29577...).

Examples

The following example shows the value of Pi:

ALERT("Pi is equal to: "+String(Arctan(1)*4))

See Also