Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby max 2 numbers

# Yes, it's ugly. Yes, it's the best approach.
[5,10].max
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ruby #max #numbers
ADD COMMENT
Topic
Name
4+4 =