Are there any functions for truncating a double in java?
<p>Hello
Is there a Java Library function which can be used to truncate a number to an arbitrary number of decimal places?
For Example.</p>

<pre><code>SomeLibrary.truncate(1.575, 2) = 1.57
</code></pre>

<p>Thanks</p>
