Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 25-11-2009
Member
 
Join Date: Nov 2008
Posts: 25
problem on if

Hello ,

i want to do this test but not work i don't know why i signe error
Code:
public String toString2(double lat,double lon){
        Iterator iterateur=liste.iterator();
        String str="";
        while(iterateur.hasNext())
        {
           Magasin ma=(Magasin)iterateur.next();
            double l=ma.getLatitude();
            double lo=ma.getLongitude();
            if((l<lat+10 and l>lat)&&(lo<lon+10 and lo>lon)){
               double l=ma.getLatitude();
               double lo=ma.getLongitude();
               str+="Latitude :"+l+"Longitude:"+lo+"\n";
            }
            
        }return str;
    }
please help me
Reply With Quote
  #2  
Old 25-11-2009
Member
 
Join Date: Feb 2009
Posts: 96
Re: problem on if

what error is it giving you or what is it doing that you don't understand?
Reply With Quote
  #3  
Old 25-11-2009
Member
 
Join Date: Nov 2008
Posts: 25
Re: problem on if

hello ,

i want to obtain the test of value the lat and long with between but i don't know how explain this

thanks
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "problem on if"
Thread Thread Starter Forum Replies Last Post
Sony VGNCS3 laptop 15 inch screen problem...LCD or CHIP problem? Mick$Tyler Hardware Peripherals 5 31-10-2010 06:49 AM
Blackberry Tour Youtube problem/facebook and phone freezing problem Lohitaksha Portable Devices 6 27-07-2010 12:10 AM
hard disk problem, clicking sound and windows problem rajat_2589 Hardware Peripherals 1 16-06-2010 11:34 PM
Toshiba satellite L305D-S5893 shutdown problem or bios update problem Colter Portable Devices 4 10-04-2010 04:19 PM
Hyperlink Problem, Unable to Open, A security problem has occurred LaKisha MS Office Support 1 30-11-2004 11:57 AM


All times are GMT +5.5. The time now is 10:54 AM.