From: Jean Privat Date: Fri, 21 Nov 2014 02:25:20 +0000 (-0500) Subject: Merge: lib/standard/math: Added round method to floats X-Git-Tag: v0.6.11~22 X-Git-Url: http://nitlanguage.org Merge: lib/standard/math: Added round method to floats Yes, I know, it can be done right now using a simple trick like `1.34.to_i.to_f`, but it seems counter-intuitive to me, why not have a round method in Float (besides, it should be a bit faster) ? I leave it to you, is it worth it to add this to standard ? If it is, well +1 and let's merge this :) Pull-Request: #924 Reviewed-by: Jean Privat Reviewed-by: Alexis Laferrière --- 9397b03419101ed69c36ca5732818612d1ebef68