The definitions are simple. Surely you have other tools you want for your
students. Just include these definitions in that.

   rfdms=:[:o.180%~3600%~0 60 60#.0 100 100#:10000&*
   dmsfr=:rfdms^:_1

   dmsfr 1
57.1745

   ]r=.rfdms 30 57.1745 90 180
0.523599 1 1.5708 3.14159
   dmsfr r
30 57.1745 90 180

   180%o.1
57.2958

On Tue, Jun 7, 2011 at 1:00 PM, Tom Arneson <[email protected]> wrote:

> I was a bit surprised at the violent objections to including in addons,
> some
> verbs for converting angles in d.mmss format to and from radians. I've
> worked with angles encoded in d.mmss format for at least 40 years and have
> coded conversions in at least a half dozen languages.
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to