jlorenz1 Posted January 27, 2004 Posted January 27, 2004 Unfortunately I can't change the format of timer. For example 2 seconds are showed as 2.000000, but I want to have it as only 2.$begin = TimerStart()$dif = TimerStop($begin)MsgBox(4096,"Time Difference",$dif)Have anyone a suggestion?? Thanks in advanceJohannes from germany Johannes LorenzBensheim, Germanyjlorenz1@web.de[post="12602"]Highlightning AutoIt Syntax in Notepad++ - Just copy in your Profile/application data/notepad++[/post]
Administrators Jon Posted January 27, 2004 Administrators Posted January 27, 2004 $dif = $dif / 1000 and if you want to get rid of any decimals then look atr Int() and Round()
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