Flowdock
round( number ) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rexml/functions.rb, line 396
    def Functions::round( number )
      number = number(number)
      begin
        neg = number.negative?
        number = number.abs.round(half: :up)
        neg ? -number : number
      rescue FloatDomainError
        number
      end
    end
Register or log in to add new notes.