Published on WSO2 Oxygen Tank (http://wso2.org)

double

By osito
Created 2008-04-17 08:58

Hi,

I am new to Web Services and I hope you can help.

Why do by Web Services internal decimal places of double or float will be cut?

For example I have .Net Web Service and my Java Client sent a double to Web Service and expected a double back.

 double dd = soap.setDouble(45.4578996546465465465465465465465465465464564654654646546654646);

 System.out.println(dd);

And I receive

45.457899654646546

back.

Why only 15 internal decimal places?

Thanks a lot.

 

 


Source URL:
http://wso2.org/forum/thread/3496