Over a million developers have joined DZone.

Zeropad A Number

·
Pads a string with 0's until the given length limit is met


= $limit) ? $number : zeropad("0" . $number, $limit);
}
?>
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}