This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
All I can guess is the JVM you are using with WebShere is being a little more liberal with the internal representation of Decimal values then the JVM for Tomcat. The only thing I can suggest you try is putting the "strictfp" keyword on the class and see if that doesn't help.
hi Trusiak, thanks, but this also does not work, in replcement i use varchar and store as its into DB. when i need calculation, first i parse and then calculate on server side. otherwise i haven't any solution. any way thanks a lot. regards, kamran.