That looks like an invisible character problem.

Anyways, I copied and pasted your line that gave you the ill-formed
number and it worked fine for me.

-- 
Raul


On Fri, Nov 4, 2011 at 7:44 PM, Richard Donovan <[email protected]> wrote:
>
>> Date: Sat, 17 Sep 2011 22:39:42 -0400
>> From: [email protected]
>> To: [email protected]
>> Subject: Re: [Jprogramming] Drop trailing zeros in a number
>>
>> Try putting "x" at the end of the long number to retain precision:
>>
>>     |.&.":^:2: 123450245000x
>>
>> This is a cute trick.
>>
>
> Not always!!!
>
>   |.&.":^:2: 123450245060x
> |ill-formed number
> |       |.&.":^:2:123450245060
>
>
>   |.&.":^:2: 123450245000000000001x
> 20
>
>   |.&.":^:2: 1234502450000000000010x
> 20
>
> ----------------------------------------------------------------------
> 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