Thread
:
ConvertFloatToSeconds Stock (Useful for Songs)
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
11-22-2017 , 18:52 Re: ConvertFloatToSeconds Stock (Useful for Songs)
#
7
This is completely wrong and shouldn't be used by anyone.
The time 3:15 (3 minutes, 15 seconds) is 3.25 minutes. As others mentioned, time should be stored in a plugin as seconds. When you need to use time as an input or
output, you can convert it to/from the colon notation (as a string).
I recommend that you either convert this thread to functions for doing the conversion to and from the colon notation or remove the thread entirely so that people new to plugin scripting aren't confused.
__________________
Polymorph
,
GitHub
Last edited by fysiks; 11-22-2017 at
18:55
.
fysiks
View Public Profile
Send a private message to fysiks
Find More Posts by fysiks