Raised This Month: $ Target: $400
 0% 

Map Time elapsed ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-20-2017 , 08:38   Re: Map Time elapsed ?
Reply With Quote #6

Quote:
Originally Posted by Awesome_man View Post
How to reduce decimal place like this is my output : 34.220508 Minutes

How to make it 34:22 minutes also when i'm using integer it's showing very big value like 1256456744 etc
.220508 doesn't mean 22 seconds. That's basic math:

PHP Code:
34.220508 100 60 57.03418 seconds
floatround
(57.03418) = 57 seconds 
Make your code according to that formula.
__________________

Last edited by OciXCrom; 01-20-2017 at 08:39.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode