title: point location convert between double and integer
body: <p>I have a three-dimensional point set. Each point
  holds its own coordinates (x,y,z) with double values. 
  Now I want to convert all coordinates from the point set 
  into integer values. </p>
  
  <p>For example if my set consists of random points between the range 0.0 and
  1.0. If I use <code>floor()</code> to convert into integers, I can't distinguish between
  the results any more.</p>
  
  <p>How do I convert them properly? Do I need some scaling? </p>