# (angtos angle \[mode \[precision\]\])
[GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<a id="125"></a>
## (angtos angle \[mode \[precision\]\])
---
Convert this absolute angle to a string, relative to angbase.
---
The **angtos** function converts the *angle* in radians to strings. This is similar to the [rtos](%28rtos%20number%20-mode%20-precision-%29.md) function, but **angtos** converts angles to strings rather than converting numbers to strings. The optional *mode* argument (0 through 4\) selects the format of the string:
| Mode | Description | Example |
| --- | --- | --- |
| 0 | Decimal degrees | 360d |
| 1 | Deg-min-sec | 47d29'15" |
| 2 | Grad | 132g |
| 3 | Radian | 6.28r |
| 4 | Surveyor's units | N 82d W |
**NOTE** The optional *precision* argument allows you to select the number of places after the decimal point. The range is from 0 to 15\.
### Examples
| Code | Returns |
| --- | --- |
| (**angtos** 1.570796) | "90" |
| (**angtos** 1.570796 2 4\) | "100.0000g" |
| (**angtos** 0.654932 1 3\) | '37d31'29"" |
**Tell me about...**
[(angle point1 point2)](%28angle%20point1%20point2%29.md)
[(angtof string \[mode\])](%28angtof%20string%20-mode-%29.md)
[(polar point angle distance)](%28polar%20point%20angle%20distance%29.md)
[(rtos number \[mode \[precision\]\])](%28rtos%20number%20-mode%20-precision-%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28angtos%20angle%20-mode%20-precision-%29.md)