min method

Money min(
  1. Money minimum
)

Returns input parameter if greater than self

Implementation

Money min(Money minimum)
{
  return this.value > minimum.value ? this : minimum;
}