how can we set precision in java??

double d=0.023787237622E-21

i want to get just 0.0237

how can i???