Cast x
to a deb_decimal
vector.
1 2 3 4 5 6 7 8 9 10 11 12 13 | deb_as_decimal(x, ...)
## S3 method for class 'deb_decimal'
deb_as_decimal(x, ...)
## S3 method for class 'deb_lsd'
deb_as_decimal(x, unit = c("l", "s", "d"), ...)
## S3 method for class 'numeric'
deb_as_decimal(x, unit = c("l", "s", "d"), bases = c(20, 12), ...)
## S3 method for class 'logical'
deb_as_decimal(x, unit = c("l", "s", "d"), bases = c(20, 12), ...)
|
x |
An object to coerce to |
... |
Arguments passed on to further methods. |
unit |
A character vector of length one indicating the unit for the
decimalized values, either |
bases |
Numeric vector of length 2 used to specify the bases for the
solidus or s and denarius or d units. Default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.