Title: MapBasic precision
Peter,
 
You can try using a format$ statement Somethimg like Format$(Number,"0.000000000").
 
I think this should return the required number of decimal places
 
Martin
 
 
----- Original Message -----
Sent: Friday, September 08, 2000 12:37 PM
Subject: MI MapBasic precision

Dear List

I am using ObjectGeography to return the start and end coordinates of lines. When I double-click on a line in a map window, I get something like 13.37624784 degrees. When I use ObjectGrography to populate a float variable or float field in a table in MapBasic, I get 13.3762 degrees. This becomes a problem for points that are close together.

Does anyone know how I can get the higher precision value? I have tried specifying Bounds with the Coordsys statement but this does not help.

Thanks

Peter Spurgeon

Reply via email to