On Sat, Nov 26, 2011 at 12:00 PM, Marc Simpson <[email protected]> wrote: > If you're expecting 'round' to round to the nearest integer, the > numeric script (http://www.jsoftware.com/svn/base/trunk/main/main/numeric.ijs) > might be handy: > > load'numeric' > roundint 2.9 > 3
PS—I should have added that roundint is defined as (<.@:+&0.5); Bo walked through its definition in his example whereas I just used the existing factor. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
