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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
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://aspose.com/file-tools
 
subject: double value problem
 
Similar Threads
problem with printing double value as 0.00 ?
Display Problem
// Math.sqrt() question
== operator comparisons
double calculation