Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 10:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[AutoIT]Variable Conversion

Discussion on [AutoIT]Variable Conversion within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 1
Join Date: Feb 2007
Posts: 35
Received Thanks: 7
[AutoIT]Variable Conversion

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
s0da is offline  
Old 10/30/2009, 12:43   #2
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
_WinAPI_IntToFloat
_WinAPI_FloatToInt
kknb is offline  
Thanks
1 User
Old 10/30/2009, 16:17   #3
 
elite*gold: 1
Join Date: Feb 2007
Posts: 35
Received Thanks: 7
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
s0da is offline  
Reply


Similar Threads Similar Threads
Autoit Spezielle Variable
02/07/2010 - AutoIt - 10 Replies
hihi :D ich habe eine frage: kann mir jmd sagen, wie ich in auto it eine variable erstelle, welche ein wort als inhalt zugewiesen bekommt, wobei da wort zufällig auf einer internetseite generiert wird ?? ich habe mir gedacht, dass ich das wort markieren und kopieren lasse und dann das "kopierte" der variable als wert zuweise .... wäre nett, wenn mit jmd helfen könnte :D
AutoIt Variable Question
03/08/2008 - Conquer Online 2 - 10 Replies
Another stupid AutoIt Question... Ok So... I have lets say I have an inputbox called $input and it works fine. So lets say the input box says What is your name? And so the user types Bob I am wondering how to have a message box come up and say Hello Bob! If possible I need whole code. Whoever answers my question gets thanks :D
Yet Another CPS to Gold Conversion
01/21/2007 - CO2 Exploits, Hacks & Tools - 9 Replies
i think there are couple of conversion out there but this is very simple written in VB How to use: 1. Enter the avg price of the (inflated) DB. default is 20kk 2. If you want to find out what the item worth in CPS then leave Priceofitem(CPS) as Zero (0). Enter the price in GOLD in the other box. 3. If you want to find out what the item worth in Gold then leave Priceofitem(Gold) as Zero. Enter the price in CPS in the other box 4. Hit calculate. if you find any bug please let me know...



All times are GMT +1. The time now is 10:36.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.