p_dollar: Parse US Currency from text field

Description Usage Arguments See Also Examples

View source: R/p_dollar.R

Description

Parse US Currency from text field

Usage

1

Arguments

x

character; text currency values

Parses a character represented numeric USD value by removing $ and "," values.

See Also

scales::dollar which is the inverse operations that expresses a numeric value as a scalar

Examples

1
  factor("$1,000.20") %>% from_currency

decisionpatterns/coercion documentation built on Nov. 4, 2019, 10:23 a.m.