The expression evaluator supports the following conversion functions. The words in italics can be replaced by an actual value or a variable.
Expression | Description |
---|---|
(angtos angle [mode [precision] ] ) | Converts an angular value in radians into a string. |
(ascii string) | Returns the conversion of the first character of a string into its ASCII character code (an integer). |
(lwtof lineweight [metric] ) | Converts the lineweight (first argument) to a real. If the optional second argument is non-nil, returns the lineweight as millimeters, otherwise returns it as inches. |
(rtos number [mode [precision] ] ) | Converts a number into a string. |