9 lines
97 B
Ruby
9 lines
97 B
Ruby
module Math
|
|
|
|
# Largest integer not larger than +x+.
|
|
def self.floor(x)
|
|
x.floor
|
|
end
|
|
|
|
end
|