Sign in to follow this  
Followers 0
Orgins

How do you get a whole number from TimerDiff?

3 posts in this topic

I keep getting 12.345ect

I just want "12" the full seconds.

Exp: (not my code but it has the same effect)

$begin = TimerInit()
Sleep(12345)
$dif = TimerDiff($begin)/1000
Tooltip($Dif, 35,15)
Sleep(3000)

I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post


Link to post
Share on other sites



Cool it works.

I've never had to use the Int command before.


I'm a newbie.Sorry if I don't reposed to your replays very fast.

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