I have a problem converting a string to a value
The problem is that "val" returns a value like 55.8412
The last to digits are lost??
Include "MENU.DEF"
Include "MAPBASIC.DEF"
Include "ICONS.DEF"
dim pos as string
pos=55.841234
dim valpos as float
valpos= val(pos)
note valpos
dim result as float
result = 55.841234 - valpos
note result
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]