[AutoIT]Variable Conversion

10/30/2009 11:18 s0da#1
Is there any way to convert a variable into a certain other type?

For example:
Variable $A should be a float set to 5.01382
however when I bring it into AutoIT, it converts it to an Unsigned Long giving me a different value of something like 1099238427

So basically I just want to know if there is a command, or any way to code a function that can convert Variables set to Unsigned Long into Float/Double/Unsigned Short
10/30/2009 12:43 kknb#2
_WinAPI_IntToFloat
_WinAPI_FloatToInt
10/30/2009 16:17 s0da#3
exactly what i was looking for, thanks
But is there also a function to interchange between the different Integers?
like Unsigned Short, Short Unsigned Long, Long