Function Entry: ANGTOS
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: ANGTOS
Name
angtos
Class
Conversion Function
Syntax
(angtos angle [unit [precision]])
Arguments and Values
angle— integer or real, interpreted in radiansunit— optional integer angular-unit selectorprecision— optional integer precision
Description
Converts a numeric angle value to a formatted string.
Return Values
A string if successful; otherwise nil.
Affected By
- angle formatting conventions
- unit and precision parameters
Notes
- Autodesk documents the accepted
unitvalues as those ofAUNITS:0degrees1degrees/minutes/seconds2grads3radians4surveyor's units
- If
unitis omitted, Autodesk documents thatangtosuses the currentAUNITSvalue. - If
precisionis omitted, Autodesk documents thatangtosuses the currentAUPRECvalue. - Autodesk documents that the result is additionally affected by
UNITMODEandDIMZIN. - Autodesk documents that negative angles are reduced to an equivalent positive angle between
0and2*pibefore formatting.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [angtos (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/PLK/AutoCAD-LT-AutoLISP-Reference/files/GUID-C2D277B4-2F59-423F-9C56-E5A1DEFE0CCE.htm)
- [About Angular Conversion (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/KOR/AutoCAD-LT-AutoLISP/files/GUID-725BC3DE-3D4C-4365-A7F9-FAD5B8AC2DD1.htm)