angtos function
$(angtos, value [, unit , precision , dimzin])
Returns the formatted angle value.
<angle> is a double.
<unit> is an integer. Use the AUNITS system variable if <unit> is
omitted.
<precision> is an integer. Use the AUPREC system variable if <precision>
is omitted.
<dimzin> is an integer. Use the DIMZIN system variable if <dimzin>
is omitted.
LISP and DIESEL use DIMZIN for the angtos function.
Mode | Setting |
---|---|
0 | Decimal degrees |
1 | Degrees, minutes, seconds |
2 | Gradians |
3 | Radians |
4 | Surveyor's Units |
Example
$(angtos,(getvar,textangle),3,2)