Description Usage Arguments Value Examples
Function to pad a string with leading zeros. Useful for parameter codes and USGS site IDs.
1 | zeroPad(x, padTo)
|
x |
character |
padTo |
number Final desired length of the character |
x character returned with leading zeros
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.