Ummm, two items:
1) How is it being forced? Only someone entering, or wanting,
the format dd.mmsssss would use the verbs Tom suggests.
2) That said, your suggestion to put some effort into parsing
an alternate format seems reasonable. Step one, then is
deciding on a useful format for entering angles (or time).
dd:mm:ss.sss? dd'mm''ss.ss? something akin to 1r2?
Oh, and I do miss those great HP calculators!
-Dan
On 3 Jun 2011, at 07:32, Andrew Nikitin wrote:
> Tom Arneson wrote:
>
>> I'd like to see the following sentences added to addons/math/misc/trig.ijs
>
> I think using digits after decimal point to represent anything but decimal
> fraction is a
> terrible idea. It is even worse idea to force it on unsuspecting users under
> blessings of
> standard library.
>
> It might have been an acceptable evil in the days of yore with those
> LED-displayed RPN HPs.
> Nowadays we have enough computer power and certainly can use some of it to
> parse angular
> values expressed in decimal degrees, minutes, minutes and seconds or any
> other way people
> write it.
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
Dan T. Abell :: dabell at txcorp dot com :: 303.444.2452
Tech-X Corp., 5621 Arapahoe Ave, Ste A, Boulder CO 80303
http://www.txcorp.com :: 303.748.6894/c 303.448.7756/fx
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm