Login  Register

convert string in a number

Posted by Luis Isaac Ramos Garcia on Aug 10, 2010; 10:53am
URL: http://imagej.273.s1.nabble.com/convert-string-in-a-number-tp3687303.html

   Dear;


    I would like to use a metadata from a image for some calculation.
The problem is that this data appears as a string, in my case "1460".
    So for make algebraic operation I need to convert it in a number
"1460"->1460. Is it possible in macro language?

    Thanks a lot,

--
Dr Luis Isaac Ramos Garcia
Departamento de Oncologia
Clinica Universidad de Navarra
Facultad de Medicina,Universidad de Navarra
Av. Pio XII nÂș36, 31008 Pamplona, Spain
Fax: +34 948255500
TEL: +34 948255400 (Ext. 4924)
E-mail: [hidden email]
Web Page: http://www.cun.es