rafaelmaeuer
2/16/2017 - 3:36 PM

Leading Zero on Single Digits (Flash) - From http://stackoverflow.com/questions/1450518/leading-zero-on-single-digits-flash

function leadingZero(num : Number) : String {
  if(num < 10) {
    return "0" + num;
  }
  return num.toString();
}