Revision: 8968
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 15, 2008 14:48 by jasonseney
Initial Code
function addZeros(score,digits) { if(score.length >= digits) { return score; } return addZeros("0"+score,digits); }
Initial URL
Initial Description
Example: `addZeros((549).toString(),7);` Returns: `"0000549"`
Initial Title
Add Preceding Zeros to Score
Initial Tags
Initial Language
JavaScript