Jump to content

Autoit Compiler


Recommended Posts

Hi,

First example

------------------------------------------------------------------------------------------------------------------

dim $a,$b,$c

$a=1.00045

$b=1.00021

$c=$a-$b

run("notepad.exe")

WinActivate('Untitled - Notepad')

WinWaitActive('Untitled - Notepad')

send("$c=")

send($c)

-------------------------------------------------------------------------------------------------------------

Output

$c= 0.000240000000000018 wtf, why not 0.00024

Second example

-------------------------------------------------------------------------------------------------------

dim $c

$c=987654321.123456789

run("notepad.exe")

WinActivate('Untitled - Notepad')

WinWaitActive('Untitled - Notepad')

send("$c=")

send($c)

---------------------------------------------------------------------------------------------------------------

Output

$c=987654321.123457 , why not 987654321.123456789

Do you know how to fix this?

Edited by NTT123
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...