bucks {umx}R Documentation

Print a money object

Description

Print function for "money" objects, e.g. fin_interest().

Usage

bucks(
  x,
  symbol = "$",
  big.mark = ",",
  decimal.mark = ".",
  trim = TRUE,
  largest_with_cents = 1e+05,
  negative_parens = c("hyphen", "minus", "parens"),
  ...
)

Arguments

x

money object.

symbol

Default prefix if not set.

big.mark

option defaulting to ","

decimal.mark

option defaulting to "."

trim

option defaulting to TRUE

largest_with_cents

option defaulting to 1e+05

negative_parens

option defaulting to "hyphen"

...

further arguments passed to or from other methods. also cat =F to return string

Value

See Also

Examples

bucks(100 * 1.05^32)
fin_interest(deposits = 20e3, interest = 0.07, yrs = 20)


[Package umx version 4.20.0 Index]