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.
RE: double format
BigDecimal? Or am I on drugs? -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 2:23 PM To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 2:23 PM To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 2:23 PM To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: double format
Sorry for spamming.. I am not really on drugs.. I just cannot write a coherent sentence. :) -Original Message- From: John Bettiol [mailto:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 2:23 PM To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: double format
That's sorted..thanks. I'll have some of what you're having.. Paul. 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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 2:23 PM To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]