VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A 1 Line Seconds To Minutes

Feet  (2 Submissions)   Math/Dates   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This is a function to make seconds into minutes with just one line of code! It's completely commented and very easy to understand. I've seen some other one's that were like 20 or 30 linez long so i made this one. Very good for an mp3 player. I have more lines of comments than i do code :/

Assumes
you can have decimals at the end of your seconds like "126.33467" it would round that to "02:06" anything .5 or under round down, anything .5 or up rounds up.

Returns
It returns "00:00" in minutes then seconds like "02:52" after u put in 172.

API Declarations
u don't even have to dim anything!

Rate A 1 Line Seconds To Minutes (8(8 Vote))
A 1 Line Seconds To Minutes.bas

A 1 Line Seconds To Minutes Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters