Libraries
»
escape_to_rubyconf
(1.0)
»
Index
»
Math
»
round
Method: Math.round
Defined in:
lib/escape_to_rubyconf/round.rb
.
round
(int) ⇒
Object
2 3 4
# File 'lib/escape_to_rubyconf/round.rb', line 2
def
self
.
round
int
(
int
+
0
.5
)
.
to_i
end