Also helpful:

   3!:3 each (2 %: 322970055388x) ; 0.0 + <. 0.5 + 2 %: 322970055388x
┌────────────────┬────────────────┐
│e300000000000000│e300000000000000│
│0800000000000000│0800000000000000│
│0100000000000000│0100000000000000│
│0000000000000000│0000000000000000│
│3cedd216e1572141│00000000e2572141│
└────────────────┴────────────────┘

confirming that those are different despite how they look.
And for types:

datatype each (2 %: 322970055388x) ; 0.0 + <. 0.5 + 2 %: 322970055388x
┌────────┬────────┐
│floating│floating│
└────────┴────────┘

On 2021-02-20 05:49, 'Sergey Kamenev' via Beta wrote:
I add to system/config/base.ijs this string

(9!:11) 10

And my problem was fixed.

     2 %: 322970055388x
568304.5446
     0.0 + <. 0.5 + 2 %: 322970055388x
568305

IMHO it's contrintuitive default behavior of J when float numbers
displayed as integer (without dot)
and without any digits after dot.

I would like to see at least one character after the dot.
In this case, it is clear what type of number (floating point or integer).

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

Reply via email to