Formatting a float

Hi everyone in the forum,

first of all i am not sure if this question should be here, but i did not found any other forum, so apolodize if it should not be here.

So the problem i have is that i am working with float and i am displaying them in several textfields converting them into Strings. The problem is that i am writting 1e8 and the text is showing 0.99999....e8 so i thing it should be a problem of round or limiting the precission of the float, but i do not know.

if any one could help me out?

Thanks in advance.

[551 byte] By [patucosa] at [2007-10-3 4:58:54]
# 1
java.text.DecimalFormat
sabre150a at 2007-7-14 23:04:16 > top of Java-index,Other Topics,Algorithms...