bassically bellow is two sections of my code. the code is used to tell a user if a company has the car in stock to meet there needs.
now the top section is for model and works fine as do all the other text ones however the second section deals with floating numbers and returns the value null constantly. any ideas? cyaz andy
String model = searchSpec.model.toLowerCase();
if ((model != null) && (!model.equals(“”)) &&
(!model.equals(this.model.toLowerCase())))
{System.out.println(“not model”);return false;}
Float engineSize = searchSpec.engineSize;
if ((engineSize != null) && (!engineSize.equals(“”)) &&
(!engineSize.equals(this.engineSize)))