deb_convert_unit: Convert the unit of 'deb_decimal' vectors

Description Usage Arguments

View source: R/helper-convert-attr.R

Description

Convert the unit of deb_decimal vectors

Usage

1
deb_convert_unit(x, to = c("l", "s", "d"))

Arguments

x

An object of class deb_decimal.

to

A character vector of length one indicating the unit to be converted to. Choice of "l" (pounds, the default), "s" (shillings), or "d" (pence).


jessesadler/debvctrs documentation built on June 14, 2021, 6:36 a.m.