| Applying science to business management |
  
best
Format: best( a, b, ... )
Arguments: [any] a, b, ... Any valid
expressions
Returns: [any] A list containing two elements where the
first element is the value of the maximum, or best input
expression, and the second element is the expression itself
Description: Best is useful for finding the best of
several alternatives where not only the maximum value is needed,
but also the expression leading to the maximum value.
Examples: best(E,PI) =
[3.142,PI]
best(0,3*4,1+10) = [12,3*4]
best("ABC","DEF")
= [DEF,"DEF"]
See Also: firsttrue,
max
|