AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

asign max doulbe value

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Carramba
Guest





PostPosted: Thu Mar 24, 2005 10:04 am    Post subject: asign max doulbe value Reply with quote




hi!

why with doesn work
double maxNum=Double.getMax();
? I have imported java.land.Double
--
thanx in advance


______________________________
Back to top
Yuri
Guest





PostPosted: Thu Mar 24, 2005 10:19 am    Post subject: Re: asign max doulbe value Reply with quote



Carramba wrote:
Quote:
why with doesn work
double maxNum=Double.getMax();

There is no such static method in Double. There is however a constant,
this should work:

double maxNum = Double.MAX_VALUE;

Quote:
? I have imported java.land.Double

not nececcary, I believe java.lang.* is always imported.

yuri

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.