May 27, 2008
APL round
A„places ROUND input
© The following rounds matrix input to places decimal places.
A„ (input‰0)×(10*-places)ט|0.5+(10*places)×input
A„A+(¯1×input<0)×(10*-places)×—|0.5+(10*places)×input
Newer Post
Older Post
Home