Re: Latitude to decimal degrees.



On 26 Nov 2005 16:36:56 -0800, bherbst65@xxxxxxxxxxx wrote, quoted or
indirectly quoted someone who said :

> TextField tf1 = new TextField(10);//Degrees
> TextField tf2 = new TextField(10);//Minutes
> TextField tf3 = new TextField(10);//Seconds
> TextField tf4 = new TextField(10);//Direction N/S or E/W
> TextField tf5 = new TextField(20);//Resultant Value

Name your fields meaningfully e.g. degrees, directionNSEW,
fractionalDegrees. Use of arbitrary names will guarantee bug
introduction.



--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages