tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Bettiol <john.bett...@virginblue.com.au>
Subject RE: double format
Date Tue, 02 Sep 2003 04:51:17 GMT
Sorry for spamming..

I am not really on drugs.. I just cannot write a coherent sentence.

:)

-----Original Message-----
From: John Bettiol [mailto:john.bettiol@virginblue.com.au] 
Sent: Tuesday, 2 September 2003 2:50 PM
To: 'Tomcat Developers List'
Subject: RE: double format


I meant I was on drugs.. I never post to anything.. And I guessed I as going
to post wrong..

You can do something linke 

BigDecimal bleh =  new BigDecimal(12345.678);
BigDecimal blah = bleh.setScale(2, BigDecimal.ROUND_HALF_DOWN);

Or something...

-----Original Message-----
From: Paul Wallace [mailto:pwallace@intelematics.com.au] 
Sent: Tuesday, 2 September 2003 2:46 PM
To: Tomcat Developers List
Subject: RE: double format


Obviously I am, I now have a value with approx 30 decimal points. What
method formats to ii.dd ?

Paul.

BigDecimal?

Or am I on  drugs?

-----Original Message-----
From: Paul Wallace [mailto:pwallace@intelematics.com.au] 
Sent: Tuesday, 2 September 2003 2:23 PM
To: tomcat-dev@jakarta.apache.org
Subject: double format


Hi all,

            A simple one for most..how do I enforce a double primitive
format? E.g 00.00, or to enforce 2 and only 2 decimal points?

 

Thanks

 

Paul.



The content of this e-mail, including any attachments is a confidential
communication between Virgin Blue and the intended addressee and is for the
sole use of that intended addressee.  If you are not the intended addressee,
any use, interference with, disclosure or copying of this material is
unauthorized and prohibited.  If you have received this e-mail in error
please contact the sender immediately and then delete the message and any
attachment(s).  Virgin Blue respects your privacy. Our privacy policy can be
accessed from our website: www.virginblue.com.au 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org



The content of this e-mail, including any attachments is a confidential
communication between Virgin Blue and the intended addressee and is for the
sole use of that intended addressee.  If you are not the intended addressee,
any use, interference with, disclosure or copying of this material is
unauthorized and prohibited.  If you have received this e-mail in error
please contact the sender immediately and then delete the message and any
attachment(s).  Virgin Blue respects your privacy. Our privacy policy can be
accessed from our website: www.virginblue.com.au 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


The content of this e-mail, including any attachments is a confidential
communication between Virgin Blue and the intended addressee and is for the
sole use of that intended addressee.  If you are not the intended addressee,
any use, interference with, disclosure or copying of this material is
unauthorized and prohibited.  If you have received this e-mail in error
please contact the sender immediately and then delete the message and any
attachment(s).  Virgin Blue respects your privacy. Our privacy policy can be
accessed from our website: www.virginblue.com.au 



Mime
View raw message