oops. Read through the thread and realised just after posting that Ian had already come up with something similar to
floatzero=:13 : '(>:i.<:x),0,x+i.(#y)-x' -Steven On 1 May 2011 22:51, Steven Taylor <[email protected]> wrote: > Like poetry is useful. >> > > I get that part. Just curious about the why behind the original request. > > Here's my boring version. > > floatzero=:13 : '(>:i.<:x),0,x+i.(#y)-x' > [a=.4 floatzero i.10 > > -Steven > > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
