Lemures Posted August 12, 2006 Share Posted August 12, 2006 Help! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 12, 2006 Moderators Share Posted August 12, 2006 (edited) Help!Edit:If Number($Price) > Number($HighestBuyer) Then Edited August 12, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Lemures Posted August 12, 2006 Author Share Posted August 12, 2006 What more do you need? $price = 2015.0, $highestbuyer = 11001.17. And yet it thinks that $price > $highestbuyer. I'm highly confused. It pulls the numbers from a text file. Whole numbers end in .0, but decimals are only 2 places long (for example, 11001.17). What more do you need? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 12, 2006 Moderators Share Posted August 12, 2006 What more do you need? $price = 2015.0, $highestbuyer = 11001.17. And yet it thinks that $price > $highestbuyer. I'm highly confused.It pulls the numbers from a text file. Whole numbers end in .0, but decimals are only 2 places long (for example, 11001.17). What more do you need?I had to copy the picture and enlarge it, I couldn't read your pic until then (call me blind)... but none the less I gave you the answer above. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Lemures Posted August 12, 2006 Author Share Posted August 12, 2006 Mwuaha! It works! Thank you very much. I thought I had them in number format, due to some work I do with them later on, but I realize that what I do with it later on does not actually require it to be a number, only a string. *sigh*. I'm an idiot. Thank you all! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now