use FORMAT to specify decimal accuracy:

###################################
minlon = format$(objectgeography(editbox.obj,OBJ_GEO_MINX),"0.000000")
###################################

ash

-----Original Message-----
From: Scott Walsh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 19 November 2003 11:58 AM
To: [EMAIL PROTECTED]
Subject: MI-L ObjectGeography


List,

I'm having a problem with the result I am getting using the below code. 
When I am on the East Coast of the US I am getting precision to 4 
decimals points for my minlon and maxlon, but when I'm using maps in 
California I am only getting precision to 3 decimals points. This is all 
on the same map so I'm confused why I am seeing this. Any help would be 
greatly appreciated.

            minlon = ObjectGeography(editbox.obj, OBJ_GEO_MINX)
            maxlon = ObjectGeography(editbox.obj, OBJ_GEO_MAXX)
            minlat = ObjectGeography(editbox.obj, OBJ_GEO_MINY)
            maxlat = ObjectGeography(editbox.obj, OBJ_GEO_MAXY)

THANKS!!!
Scott Walsh
State College, PA


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 9212

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 9213

Reply via email to