#### Topic: Rad and Deg

I've been a while to play with tangent (for the tree object).

I always got a different answer on my calculator.

I just found out that the tangent is given in rad and not in deg.

on the wiki I found the command "rad2deg()", but the answer is totally different!

I have tested it with this object:

```
object "tan"
{
state "main"
{
let "$x = rad2deg(tan(1))" //deg
let "$y = tan(1)" //rad
textout default 0 000 "<color=ffff00>Deg_tan(1)= $x</color>"
textout default 0 -25 "<color=ffff00>Rad_tan(1)= $y</color>"
}
}
```

the game answers are:

in deg: 89,23289

in rad: 1,55741

The calculator answers are:

in deg: 0,017455064

in rad: 1,556407725