Sign Up · Login Home › Code Snips › Tags Rounding Up A Float In Ruby by Kyle on December 04, 2009 0.3.ceil #=> 1 2.1.ceil #=> 3 Hide Sidebar