title: Create a price range from given min and max values
body: <p>Given two values <code>$min</code> and <code>$max</code>, I want to create a price range for users to choose from.</p>
  <h2>Example</h2>
  <pre><code>$min = 849;
  $max = 41259;
  </code></pre>
  <p>My thresholds are:</p>
  <pre><code>&lt;10K
  10K to 25K
  25K to 40K
  40K+
  </code></pre>
  <p>So, if my min value is 12000, the first one in the threshold will not come. Tried a couple of things, but none worked. Any help would be highly appreciated.</p>