|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] reading a float with XDR
Hi, as I couldn't read a float with XSD, I'm trying with XDR but it stores it as a double and I loss precision when I do a cast --> (float) value.dblVal VARIANT value; pNodeAttrValue->get_nodeTypedValue(&value); value.dblVal has the correct value, but stored as a double, instead of value.fltVal //Esquema.xml <Schema xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes"> ... <AttributeType name='myfloat' dt:type='float'> ... </Schema> Thanks in advance. Davinia. _________________________________________________________________ ¿Vas a comprar algo a través de Internet? Ordénalo por el mejor precio en MSN Compras. http://www.msn.es/compras/
|
Purchase Stylus Studio Online Today!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||






