Repository navigation
String
MaartenHilferink edited this page Nov 10, 2026
·
9 revisions
Conversion functions String
- string is a string value type.
- string() is a function converting data items or units of other value types to the string value type.
This page describes the string() function.
- string(a)
string(), and convert to a string unit, write numbers and points without thousand separators, whatever the option Show thousand separator of the GUI Options dialog or the /SH command line option says. The text of a point therefore parses back, and keys and storage names made from such texts are the same in runs with and without the option. The string of a null point is null.
- data item or unit with Numeric, uint2, uint4, or bool value type
attribute<string> stringA (ADomain) := string(A);
| A(int32) | stringA |
|---|---|
| 0 | '0' |
| 1 | '1' |
| 256 | '256' |
| -100 | '-100' |
| 9999 | '9999' |
ADomain, nr of rows = 5
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.