pad.num: Pad the beginning of a number with zeroes

View source: R/strings.R

pad.numR Documentation

Pad the beginning of a number with zeroes

Description

Pad the beginning of a number with zeroes

Usage

pad.num(num, digits = 1)

Arguments

num

A vector of the numbers to pad

digits

The number of characters that the resulting strings should have

Value

A vector of strings of the padded numbers


pbs-assess/gfutilities documentation built on Sept. 18, 2023, 7:57 a.m.