<pre>function round number,accuracy  return (the round of (number * 10^accuracy)) / 10^accuracyend round</pre>