View source: R/dtc_create_iso8601.R
zero_pad_whole_number | R Documentation |
zero_pad_whole_number()
takes non-negative integer values and converts
them to character with zero padding. Negative numbers and numbers greater
than the width specified by the number of digits n
are converted to NA
.
zero_pad_whole_number(x, n = 2L)
x |
An integer vector. |
n |
Number of digits in the output, including zero padding. |
A character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.