title: How to approximate a number to a n number of decimal places?
body: <p>I have started using <code>maxima</code> just a few weeks ago (actually I have just used it a few times) with the <code>wxMaxima</code> interface for OS X.</p>
  
  <p>I have tried to find a solution for this around the web, but maybe because I am blind or maybe because I do not have much experience in searching in the official documentation of maxima, I have not find a concrete solution yet.</p>
  
  <p>How do I approximate a number to a <code>n</code> number of decimal places? For example, if I use <code>float(22/7)</code>, it gives me this huge number <code>3.142857142857143</code>, but I just want for example to approximate it to the 3rd decimal place <code>3.143</code>.</p>