Aaron Symons Posted February 3, 2015 Share Posted February 3, 2015 Hello, Time:GetCurrent() seems to be rounded to a maximum precision of three decimal places, and I need it to be more precise for my timer. Is there any way I can have a more precise time, to say five or six decimal places? Thanks! Quote Win7 64-bit | Intel i7-3770 3.40GHz | NVIDIA GeForce GTX 660 Link to comment Share on other sites More sharing options...
martyj Posted February 3, 2015 Share Posted February 3, 2015 Time:GetCurrent() returns a long integer value of time in milliseconds since the program has started. There is no decimal places involved. See the documentation. http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/time/timegetcurrent-r494 Quote Link to comment Share on other sites More sharing options...
Aaron Symons Posted February 3, 2015 Author Share Posted February 3, 2015 oops! That's because I'm dividing it by 1000. This gives me a maximum precision of three decimal places, but I require more. Quote Win7 64-bit | Intel i7-3770 3.40GHz | NVIDIA GeForce GTX 660 Link to comment Share on other sites More sharing options...
Aaron Symons Posted February 3, 2015 Author Share Posted February 3, 2015 Hang on! Haha! I'm so sorry for asking such a silly question. I must be suffering from tiredness! This topic should be deleted. xD Quote Win7 64-bit | Intel i7-3770 3.40GHz | NVIDIA GeForce GTX 660 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.