Float values in a Schema
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Float values in a Schema




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Float values in a Schema  
beewil


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-24-05 10:52 PM

I'm getting a response back from a web service with
<Amount>29393.39</Amount>.  I can see this in Fiddler, but if I put the
Orchestration in debug mode and look at the response back from the web
service I see <Amount>29393.4</Amount>.  I can't see any reason the why the
value is getting rounded up.  The field is defined as xs:float.


chris wilper





[ Post a follow-up to this message ]



    RE: Float values in a Schema  
Neal Walters


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-24-05 10:52 PM

Why not use decimal?

See http://www.dotnet247.com/247referen.../36/182077.aspx
See http://www.yoda.arachsys.com/csharp/floatingpoint.html

Neal Walters
http://Biztalk-Training.com



"beewil" wrote:

> I'm getting a response back from a web service with
> <Amount>29393.39</Amount>.  I can see this in Fiddler, but if I put the
> Orchestration in debug mode and look at the response back from the web
> service I see <Amount>29393.4</Amount>.  I can't see any reason the why th
e
> value is getting rounded up.  The field is defined as xs:float.
>
>
> chris wilper





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:53 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register