I want to store a float/double as String. I have an input file with a column with float values i.e. have the form 1.4E15. I want to store these values as Strings. Here is my code which is resulting in storing 1.4E15 not the value as a String.
[code=java]
String accNumber="";//declaring and initialisation
//open file and read line then store the column in accNumber
//the line read has been stored into an array String split[]
accNumber=split[2].trim();
//how do I make sure it does not store 1.4E15[/code]
[code=java]
String accNumber="";//declaring and initialisation
//open file and read line then store the column in accNumber
//the line read has been stored into an array String split[]
accNumber=split[2].trim();
//how do I make sure it does not store 1.4E15[/code]
Comment