distof
(distof string [ unit ]
)
This function converts and returns the
specified string as a distance value as double value; if
unit (1...5) is
not specified, the value of LUNITS system variable is
used.
Arguments |
string a string specifying a distance value |
Return |
double value, or NIL if conversion is not possible |
Example |
(distof "123456.789"
1)
|
Remarks |
unit / LUNITS : |
© Bricsys NV. All rights reserved. |