Jump to content
Sign in to follow this  
Orgins

How do you get a whole number from TimerDiff?

Recommended Posts

Orgins

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
Orgins

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.