That's what it looks like to me.  Use the dyad ": or
8!:n if you want detailed formatting.



----- Original Message -----
From: bill lam <[EMAIL PROTECTED]>
Date: Thursday, October 12, 2006 8:56 am
Subject: [Jprogramming] monad ": on integer

> The J dictionary said
> The fit conjunction (!.) and 9!:10 specify the number of digits for
> floating-point numbers
> 
> It does not mention integers. I found monad ": on integer ignores 
> printprecision setting.
>   9!:10 ''
> 6
>   ":123456789
> 123456789
>   ":123456789+2.2-2.2
> 1.23457e8
>   ":<.123456789+2.2-2.2
> 123456789
>   ":(!.5)123456789
> 123456789
>   ":(!.5)123456789+2.2-2.2
> 1.2346e8
> 
> So that monad ": will ignore !. and pp, but will always print all 
> digits for
> integers and extended integers, am I correct?


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

Reply via email to