title: Math.min in objective c
body: <p>can any one tell me how can change this java code into objective c.is there any function for
  Math.min. i'm new to objective c </p>
  
  <pre><code>result = Math.min(Math.min((hra * 12), rent), 
      (0.4 * pay));
  </code></pre>