function addZero(x,n) {
    while (x.toString().length < n) {
        x = "0" + x;
    }
    return x;
}
/**
*	Pads a number with a specific number of zeroes
* @param: x - the number
* @param: n - number of zeroes
*/
Pads a number with a specific number of zeroes
Pads a number with a specific number of zeroes
function addZero(x,n) {
    while (x.toString().length < n) {
        x = "0" + x;
    }
    return x;
}
function addZero ( x , n ) { while ( x . toString ( ) . length < n ) { x = "0" + x ; } return x ; }
Pads a number with a specific number of zeroes
Pads a number with a specific number of zeroes