for(i=0;i<array.length;i++){
if(array[i]-1.50< 1){
x = array[i];
break;
}
}
Please don't ever get confused between Java and JavaScript.

Chris