Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t = Math.floor(outPoint-time);
- minut = Math.floor(t / 60);
- second = t % 60;
- if(minut < 10)
- {
- if(second < 10)
- {
- ['0' + minut + ':' + '0' + second];
- }
- else
- {
- ['0' + minut + ':' + second];
- }
- }
- else
- {
- if(second < 10)
- {
- [minut + ':' + '0' + second];
- }
- else
- {
- [minut + ':' + second];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement