struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shishir" <shishir.ku...@enrichsolutions.com>
Subject RE: Currency formate
Date Wed, 05 Aug 2009 10:16:40 GMT
Try to make round after 2 decimal point..
Like 1.21

-----Original Message-----
From: srinivas [mailto:srinivas.raju@sifycorp.com] 
Sent: Wednesday, August 05, 2009 3:14 PM
To: Struts Users Mailing List
Subject: Currency formate

Hi,

When i provide a large double value in the text feild  i am getting the 
value in exponential formate

Ex: if i provide value : 12122222222222222222222222  in the text field. 
and if the page render again due to the validation errors
i am getting the value 1.2122222222222223E25.

If any one have any idea about this please tell me now.

Regards,
Srinivasa Raju CH.


Get your world in your inbox!

Mail, widgets, documents, spreadsheets, organizer and much more with your
Sifymail WIYI id!
Log on to http://www.sify.com

********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at admin@sifycorp.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message