Cstr(double) seems to compile fine.
- Code: Select all
dim f as single
dim d as double
dim s as string
f = 1.23
s = cstr(f) // generates an ERROR
s = cstr(cdbl(f)) // convert single to double first works
d = 1.23
s = cstr(d) // compiles ok
dim f as single
dim d as double
dim s as string
f = 1.23
s = cstr(f) // generates an ERROR
s = cstr(cdbl(f)) // convert single to double first works
d = 1.23
s = cstr(d) // compiles ok
Users browsing this forum: No registered users and 2 guests