aspose file tools
The moose likes JBoss and the fly likes double value problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "double value problem" Watch "double value problem" New topic
Author

double value problem

venkat gad
Greenhorn

Joined: Sep 28, 2008
Posts: 1
Hi all,

I made a simple jsp application and printing the double value (jboss server).



it is printing 0.4 instead of 0.42.

if i run the same code through standalone program it is printing 0.42.

Please advice on this.

Thanks in Advance.
uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

Hi Venkat,
Welcome to the Java Ranch.
Have you tried printing the double value like
Please post the entire code section of your jsp file.

Moreover, this forum is only for queries related to JBoss and your problem is related to jsp. Please make sure in future that you ask your question in right forum otherwise it will get unanswered.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: double value problem
 
Similar Threads
== operator comparisons
problem with printing double value as 0.00 ?
Display Problem
double calculation
// Math.sqrt() question