Now
   #: 0.14159265
0.14159265

I would like to have #: working for fractions as well (low chances for such a 
change request?), so  
  #: 0.14159265
0 0 0 1 0 0 1 0 0 0 0 1 1 1 1 1 1 0 1 1 0 1 0 1 0 0 1 1 1 1 0 0 1 0 0 0 1 1 0 1 
0 1 0 0 1 1 1 1 0 0 0 0 1
since 
   #:2 x: x: 0.14159265
0 0 0 1 0 0 1 0 0 0 0 1 1 1 1 1 1 0 1 1 0 1 0 1 0 0 1 1 1 1 0 0 1 0 0 0 1 1 0 1 
0 1 0 0 1 1 1 1 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0
And so 
0.14159265= 0.00010010000111111011010100111100100011010100111100001

But with one digit more I'm in trouble
   #:2 x: x: 0.141592653
0 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 0 1 1 0 0 0 0 1 1 1 1 0 1 1 0 1 1 1 
1 1 0 1
1 0 0 0 1 1 0 1 0 0 1 1 1 1 0 1 1 1 0 0 1 0 1 1 0 0 0 0 1 0 0 0 1 1 0 1 0 0 1 1 
1 1 1 0

Anyone with a smart way out?

TIA.

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

Reply via email to