Description Usage Arguments Details Value Examples
Converts an integer into a string with a given digits. If necessary, the function prepends the number with zeros to fill the digits.
1 | numString(x, n = 3)
|
n |
number of digits to be used. |
Integer |
to be converted to string. |
When creating numbered file names, the file system lists the files alphabetically. This is usually a nuisance since the listing is out of order: file_1, file_10, file_11, ..., file_2. This function makes it easy to create file names such as file_01, file_02, ..., file_09, file_10, file_11, ....
String containing the number padded on its left with 0s n
characters long.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.