 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Carramba Guest
|
Posted: Thu Mar 24, 2005 10:04 am Post subject: asign max doulbe value |
|
|
hi!
why with doesn work
double maxNum=Double.getMax();
? I have imported java.land.Double
--
thanx in advance
______________________________
|
|
| Back to top |
|
 |
Yuri Guest
|
Posted: Thu Mar 24, 2005 10:19 am Post subject: Re: asign max doulbe value |
|
|
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 |
|
 |
|
|
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
|
|