The Flex deserializer also gave me problems with this. It can interpret them as Number objects, and thus they return short representations when toString () is called.
Try using .toFixed(2)when you need to print a value like11.00
var $object:Object = decoder.decode( <xmltag>11.00</xmltag> );
trace($object);
trace($object.toFixed(2));
Ian t source
share