# Decimal to time

**URL:** <https://forum.kirupa.com/t/decimal-to-time/284403>\
**Category:** flash\
**Created:** [March 18, 2009, 9:02pm UTC](https://forum.kirupa.com/t/decimal-to-time/284403 "2009-03-18T21:02:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phaedo5](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@phaedo5](https://forum.kirupa.com/u/phaedo5)\
**Post date:** [March 18, 2009, 9:02pm UTC](https://forum.kirupa.com/t/decimal-to-time/284403/1 "2009-03-18T21:02:31Z")

</div>

I’m having trouble finding out how this would work in AS3.

I have a decimal number (4.14). That’s a TotalTime variable of an flv. I want to convert that to something like 4:20.

What would i need to utilize in order to make this happen?
