icebrrrg
7th November 2003 21:29 UTC
convert string to int
is there any quick and dirty way to convert a string to an int? or does IntCmp automatically do that?'
lots of string functions out there, and i believe the Math plug-in will do that, but i don't want to pull that in if i don't need to. thanks!
-m-
kichik
7th November 2003 21:40 UTC
There is no integer data type in NSIS, just strings. Every instrcution that needs an integer does the conversion internally, including IntCmp.
icebrrrg
7th November 2003 21:55 UTC
thanks ... that helps a lot. guess i missed something in the documentation. :)
Joel
7th November 2003 23:03 UTC
Well... In my C++ projects I use fcvt maybe some API will do that