Maptitude GISDK Help |
Converts a real number to a string.
str_value = String(number value)
Argument |
Contents |
value |
A real or integer number |
A string that indicates the value of real_value.
String(value) is the same as Format(value, "*.######") for real numbers, so String(0.0000001) returns 0. If you want more than six significant digits you can use, for example, Format(value, "*.*").
r = 2/3
ShowMessage(String(r) + "|" + Format(r, "*.######") + "|" + Format(r, "*.*"))
r = 0.0000001
ShowMessage(String(r) + "|" + Format(r, "*.######") + "|" + Format(r, "*.*"))
Function |
Summary |
Formats a number |
|
Converts a string to a real number |
|
Returns a character of the ASCII table |
©2025 Caliper Corporation | www.caliper.com |