# variant 1 # returns integer (1..100).inject(1, :*) # variant 2 # returns float Math.gamma(100)