Thank you Jesper!
Well I'm trying now to format a double value, here is my code:
but it displays a comma instead of dot:
$
java check
1.385322774
1.385322784
9.99999993922529E-9
0,00000001 Do you have any idea how to fix this?
And sthing else:
The substraction of the first two numbers should result in 0.00000001.
Why printing the double results in 9.99999993922529E-9 and not 1.0e-8
[ September 18, 2008: Message edited by: Nick Paralias ]