Sign in to follow this  
Followers 0
MajSlayer420

Need help with TimerDiff() Command

3 posts in this topic

Hello, How can get get the dif from the TimerDiff() command to display without the fractional part of the number?

Heres my code

CODE
$Dif1 = TimerDiff($ShieldOnTimer)

PrintStatus("[Dif1 = " & $Dif1 & "]") ; Debug info

Thanks

MajSlayer420

Share this post


Link to post
Share on other sites



$Dif1 = Int(TimerDiff($sHieldOnTimer))


[center]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.[/center]

Share this post


Link to post
Share on other sites

Awsome thank you!

MajSlayer420

Share this post


Link to post
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
Sign in to follow this  
Followers 0