title: Is there a Julia equivalent to numpy.digitize?
body: <p>Given a bin range <code>min:step:max</code> and a value <code>x</code> I want to find the bin the <code>x</code> is in. Is there a better way than </p>
  
  <p><code>floor(Int, (x-min)/step)</code></p>
  
  <p>?</p>