'min' and 'max' apply to floats and numbers too.

Closes #30.