TheSwamp

Code Red => VB(A) => Topic started by: rude dog on April 03, 2008, 10:48:06 PM

Title: Return Points
Post by: rude dog on April 03, 2008, 10:48:06 PM
How do you make:

7.05751271211283, 4.47215105953807,  0.99999999999947

Return:

-7.0575, 4.4721, 1.000


I believe I read somewhere to add 0.00000000000004 and then round?
trying to do this in autocad with vba


Title: Re: Return Points
Post by: rude dog on April 03, 2008, 11:26:36 PM
Round duh
Had to look in VB Help files for Acad vba reference
Thnaks
Title: Re: Return Points
Post by: ML on April 21, 2008, 05:26:35 PM

Yes Rude

The Round Function will work

Were you also looking for code that would allow you to pick and return points?

Mark