I box the results to show better any justification.

   < 10j2 ": 35.25
+----------+
|     35.25|
+----------+
   < 0j2 ": 35.25
+-----+
|35.25|
+-----+

When there is only one number it's hard to see the
justification, if any.  Use more than one number.

   < 10j2 ": 11^i.5 1
+----------+
|      1.00|
|     11.00|
|    121.00|
|   1331.00|
|  14641.00|
+----------+
   < 0j2 ": 11^i.5 1
+--------+
|    1.00|
|   11.00|
|  121.00|
| 1331.00|
|14641.00|
+--------+

So yes, the results are correct.



----- Original Message -----
From: Bill Harris <[EMAIL PROTECTED]>
Date: Wednesday, April 4, 2007 10:40 pm
Subject: [Jprogramming] ": error?

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> - From the DoJ for ": (dyadic):
> 
>  If w>:0 and d>:0, the result is right-justified in the space.
> 
> - From an ijx window:
> 
> ,----
> |    10j2 ": 35.25
> |      35.25
> |    0j2 ": 35.25
> | 35.25
> `----
> 
> Is that correct?
> 
> 9!:14 ''   
> j601/2006-11-17/17:05
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to