1. Convert the double to a string using Double.toString(yourDouble)
2. Use yourString.substring and indexOf(yourString, ".") to get the part you need. Concatenate trailing zeros if needed.
3. Convert the resulting string to a double using Double.parseDouble(YourResultString)
The string manipulation will be different depending on whether you want to round to a certain number of decimals or a certain number of significant figures.
If you need a code segment pls supply more details, have tested this approach and it works.
Regards, Darryl