Rounding Up A Float In Ruby

by Kyle on

0.3.ceil
#=> 1
 
2.1.ceil
#=> 3

Hide Sidebar