[flexcoders] Re: AMF serialization of floats (REPOST)

2006-07-22 Thread Dave Wolf
What's about a Java primitive long ? -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Mike_Robinson_98 [EMAIL PROTECTED] wrote:

[flexcoders] Re: AMF serialization of floats (REPOST)

2006-07-22 Thread Dave Wolf
for now, try using double instead of float. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike_Robinson_98 Sent: Friday, July 21, 2006 5:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AMF

[flexcoders] Re: AMF serialization of floats (REPOST)

2006-07-21 Thread Dave Wolf
Don't use floats. wink Seriously however, floats are inexact numeric types. They're not going to have a fixed precision in general and this is especially true when they are marshalled across languages. Can you use an exact numeric type instead? -- Dave Wolf Cynergy Systems, Inc. Adobe

[flexcoders] Re: AMF serialization of floats (REPOST)

2006-07-21 Thread Mike_Robinson_98
Dave, thanks for your response. I'm not sure what exact number type you have in mind (Integer?BigDecimal?). The data is decimal data, no getting around that. There don't seem to many choices as far as what data type to use. What do flex programmers do in this situation when they want to serialize

RE: [flexcoders] Re: AMF serialization of floats (REPOST)

2006-07-21 Thread Peter Farland
: [flexcoders] Re: AMF serialization of floats (REPOST) Dave, thanks for your response. I'm not sure what exact number type you have in mind (Integer?BigDecimal?). The data is decimal data, no getting around that. There don't seem to many choices as far as what data type to use. What do flex

[flexcoders] Re: AMF serialization of floats (REPOST)

2006-07-21 Thread Mike_Robinson_98
and AS source as an example of the issue? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike_Robinson_98 Sent: Friday, July 21, 2006 5:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AMF serialization of floats (REPOST

RE: [flexcoders] Re: AMF serialization of floats (REPOST)

2006-07-21 Thread Peter Farland
As a work around for now, try using double instead of float. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike_Robinson_98 Sent: Friday, July 21, 2006 5:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AMF serialization of floats

[flexcoders] Re: AMF serialization of floats (REPOST)

2006-07-21 Thread Mike_Robinson_98
PROTECTED] On Behalf Of Mike_Robinson_98 Sent: Friday, July 21, 2006 5:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AMF serialization of floats (REPOST) Dave, thanks for your response. I'm not sure what exact number type you have in mind (Integer?BigDecimal