Answers for "how to ceil in ruby"

0

ruby ceil

1.2.ceil      #=> 2
2.0.ceil      #=> 2
(-1.2).ceil   #=> -1
(-2.0).ceil   #=> -2
Posted by: Guest on December-17-2020

Browse Popular Code Answers by Language