Convert short array to flotting point
Johnnyfumi
Posts: 14
Hy,
i have to convert a string value in a floating point rappresentation. i read a string value (e.g 3.45) from an SD and i have to convert it in a floating point value, how can i do? In floathMath object there's a method that convert floating point value in a string, but·i need the opposite conversion (string to floating point).
Someone can help me?
thank·you so much for your patience
·
i have to convert a string value in a floating point rappresentation. i read a string value (e.g 3.45) from an SD and i have to convert it in a floating point value, how can i do? In floathMath object there's a method that convert floating point value in a string, but·i need the opposite conversion (string to floating point).
Someone can help me?
thank·you so much for your patience
·
Comments
http://forums.parallax.com/showthread.php?p=738380
Andy
If the numbers are in a limited subset... you can make a small routine to parse the numbers, it is not _that_ difficult. I'm currently implementing some double precision fp, I may do string->to fp... but later this week.