Show-off. :-)
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 17, 2019 5:22:44 AM Mark Waddingham via use-livecode <use-livecode@lists.runrev.com> wrote:

On 2019-10-17 10:50, Klaus major-k via use-livecode wrote:
save some lines by setting the numberformat first (lazy moi :-)

...


Save even more lines by using format, div and mod...

function formatRemainingTime pSeconds
  return format("%02d:%02d:%02d", pSeconds div 3600, (pSeconds mod 3600)
div 60, pSeconds mod 60)
end formatRemainingTime

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to