GerryLowry1(905)825-9582{AbilityBusinessComputerServices} wrote:

> Regardless, what I was really attempting to demonstrate
> is that I would rather see
>         0.33333333333333333333333333333333...
> in preference to 1r3.
>

As Oleg points out, you can format rational numbers to arbitrary precision.
   0j30":1r3
0.333333333333333333333333333333
   0j30":1r7
0.142857142857142857142857142857

If you want a recurring decimal, I suggest you write a simple verb to do it.

Best wishes,

John



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to