List Info

Thread: converting xmlChar to float




converting xmlChar to float
user name
2006-07-25 12:59:16

How about atof() ?

 

Fred Smith

Senior Applications Programmer/Analyst

Computrition, Inc.

computrition.com">computrition.com">fredcomputrition.com

781-275-4488

FAX: 781-687-8884

 

 

 


From: xml-bouncesgnome.org [mailtoml-bouncesgnome.org] On Behalf Of Maciej Szewczykowski
Sent: Tuesday, July 25, 2006 2:15 PM
To: xmlgnome.org
Subject: [xml] converting xmlChar to float

 

Dear All,

 

I have a following snippet in my code:

 

xmlChar *myChar;

myChar = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);

 

Then I want to convert the content of 'myChar' into float.

 

Anyone knows how to do this? None of ways known to me works.

 

Thx;

 

Regards;

 

maciej

 


Maciej Szewczykowski

Instytut Meteorologii i Gospodarki Wodnej
Radarowe Centrum Operacyjne
Institute of Meteorology and Water Management
Radar Operational Center
phone: +48 22 569 44 93
fax: +48 22 569 44 88

imgw.pl">maciej.szewczykowskiimgw.pl


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )