Hello all im getting from as input mantissa presentation that i know its double it looks like this : 8.0E-4 i need to convert it to its double presentation that i know is 0.0008 how can it be done in java ?

What would be the best pattern to convert any scientific notation to normal? I've been playing with "####################.###################", it seems to work but feels so random.